summaryrefslogtreecommitdiff
path: root/scripts/atomic
diff options
context:
space:
mode:
authorSun YangKai <sunk67188@gmail.com>2025-11-22 14:00:43 +0800
committerDavid Sterba <dsterba@suse.com>2026-02-03 06:38:31 +0100
commit8bfee251b7f5e54437e893c6daa964caded8a860 (patch)
tree9d5c880c01cc0d2d1dd59b034a16a91a19b84c3c /scripts/atomic
parent53e83031494715482d11d3e1394058a10d96f486 (diff)
btrfs: use true/false for boolean parameters in btrfs_inc_ref()/btrfs_dec_ref()
Replace integer literals 0/1 with true/false when calling btrfs_inc_ref() and btrfs_dec_ref() to make the code self-documenting and avoid mixing bool/integer types. 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/atomic')
0 files changed, 0 insertions, 0 deletions