diff options
| author | 2025-12-22 11:59:42 +0800 | |
|---|---|---|
| committer | 2026-10-12 19:16:20 +0200 | |
| commit | 052434104f1e9e1770a22aa6b724f8dd3df1ff55 (patch) | |
| tree | c1f342bebd6e603db13ba8ccd2606ee4fefe7f59 /scripts/Makefile.thinlto | |
| parent | btrfs: zstd: avoid a copy in zstd_decompress_bio() (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
