Files
linux-stable-mirror/include/trace
Goldwyn Rodrigues 32372781d6 btrfs: tracepoints: get correct superblock from dentry in event btrfs_sync_file()
[ Upstream commit a85b46db14 ]

If overlay is used on top of btrfs, dentry->d_sb translates to overlay's
super block and fsid assignment will lead to a crash.

Use file_inode(file)->i_sb to always get btrfs_sb.

Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-04-22 13:18:47 +02:00
..
2026-01-17 16:31:15 +01:00