summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSun YangKai <sunk67188@gmail.com>2025-11-22 14:00:44 +0800
committerDavid Sterba <dsterba@suse.com>2026-02-03 06:38:31 +0100
commita5eb9024368dac8cc6b317c1577c6348e5334243 (patch)
treeee925200c7b2a719f2feff6b86c14cd8f079ea7c /scripts
parent8bfee251b7f5e54437e893c6daa964caded8a860 (diff)
btrfs: simplify boolean argument for btrfs_inc_ref()/btrfs_dec_ref()
Replace open-coded if/else blocks with the boolean directly and introduce local const bool variables, making the code shorter and easier to read. Signed-off-by: Sun YangKai <sunk67188@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions