Files
linux-stable-mirror/include/trace
Goldwyn Rodrigues e252db8ca2 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-06-01 17:38:31 +02:00
..
2026-01-17 16:39:33 +01:00