aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/compression.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2025-03-27 16:19:18 +0000
committerDavid Sterba <[email protected]>2025-05-15 12:30:40 +0000
commit6aa79c4f25197cc54479dc87d79ecd45571fb062 (patch)
tree9a117262edd3e1541f3ef70c40fd1734aaadb265 /fs/btrfs/compression.c
parentbtrfs: pass a pointer to get_range_bits() to cache first search result (diff)
downloadkernel-6aa79c4f25197cc54479dc87d79ecd45571fb062.tar.gz
kernel-6aa79c4f25197cc54479dc87d79ecd45571fb062.zip
btrfs: use rb_entry_safe() where possible to simplify code
Simplify conditionally reading an rb_entry(), there's the rb_entry_safe() helper that checks the node pointer for NULL so we don't have to write it explicitly. Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions