summaryrefslogtreecommitdiff
path: root/scripts/include
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2026-02-02 19:50:18 +0300
committerDavid Sterba <dsterba@suse.com>2026-04-07 19:55:52 +0300
commitc4d30088fa28289aaf05ab421864ef8573ba9717 (patch)
tree0b828293eaeaf65a620f9bab9812cb24aeb3ae9c /scripts/include
parent1ba19a6ea9f27ea383560d3ead6d8f5b773aff33 (diff)
downloadlinux-c4d30088fa28289aaf05ab421864ef8573ba9717.tar.xz
btrfs: pass boolean literals as the last argument to inc_block_group_ro()
The last argument of inc_block_group_ro() is defined as a boolean, but every caller is passing an integer literal, 0 or 1 for false and true respectively. While this is not incorrect, as 0 and 1 are converted to false and true, it's less readable and somewhat awkward since the argument is defined as boolean. Replace 0 and 1 with false and true. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/include')
0 files changed, 0 insertions, 0 deletions