diff options
| author | Zhen Ni <zhen.ni@easystack.cn> | 2025-12-22 11:59:42 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-10-12 19:16:20 +0200 |
| commit | 052434104f1e9e1770a22aa6b724f8dd3df1ff55 (patch) | |
| tree | c1f342bebd6e603db13ba8ccd2606ee4fefe7f59 /tools/perf/scripts/python | |
| parent | 7d5319be57fea4b06fe1d157f4696ddc1e3927bd (diff) | |
| download | linux-052434104f1e9e1770a22aa6b724f8dd3df1ff55.tar.gz linux-052434104f1e9e1770a22aa6b724f8dd3df1ff55.zip | |
btrfs: replace is_data_bbio() with is_data_inode() for direct usage
After commit 81cea6cd7041 ("btrfs: remove btrfs_bio::fs_info by
extracting it from btrfs_bio::inode"), the btrfs_bio::inode field is
mandatory for all btrfs_bio allocations. The NULL check is redundant and
can be removed.
As is_data_bbio() would be a trivial wrapper for is_data_bbio() replace
all calls in in bio.c
Link: https://lore.kernel.org/linux-btrfs/20251219084316.1164580-1-zhen.ni@easystack.cn
Signed-off-by: Zhen Ni <zhen.ni@easystack.cn>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
