diff options
| author | Goldwyn Rodrigues <rgoldwyn@suse.de> | 2026-03-13 14:11:39 -0400 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-03-23 20:11:12 +0100 |
| commit | a85b46db143fda5869e7d8df8f258ccef5fa1719 (patch) | |
| tree | 9e874461f09093f21d1ef2a18f6b84b637999453 /tools/perf/scripts/python | |
| parent | 0dcabcb920a5c143c568f37c26c6f2b4b9206bd1 (diff) | |
btrfs: tracepoints: get correct superblock from dentry in event btrfs_sync_file()
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
