summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-03-30 17:39:02 +0300
committerDavid Sterba <dsterba@suse.com>2023-04-17 19:01:22 +0300
commite4773b57b8949cec8743445e7877315c012fe5ca (patch)
tree72aa5c8f29e1f65ef139ae904812c5d1ec94bc03 /scripts/lib/kdoc/kdoc_files.py
parentb73a6fd1b1efd799c6e3d14a922887f4453fea17 (diff)
downloadlinux-e4773b57b8949cec8743445e7877315c012fe5ca.tar.xz
btrfs: make btrfs_block_rsv_full() check more boolean when starting transaction
When starting a transaction we are comparing the result of a call to btrfs_block_rsv_full() with 0, but the function returns a boolean. While in practice it is not incorrect, as 0 is equivalent to false, it makes it a bit odd and less readable. So update the check to not compare against 0 and instead use the logical not (!) operator. 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/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions