summaryrefslogtreecommitdiff
path: root/fs/btrfs/block-group.h
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <mpdesouza@suse.com>2020-07-06 11:59:36 -0300
committerDavid Sterba <dsterba@suse.com>2020-07-27 12:55:42 +0200
commit60f8667b618e1cb2ded148a7b767bbb70d6c191c (patch)
treecaf7c4d1b2b9feea506e6a92e36835327b8c7c73 /fs/btrfs/block-group.h
parent93c4c033ec66d1de90d03bc11b7b338a01188954 (diff)
downloadlwn-60f8667b618e1cb2ded148a7b767bbb70d6c191c.tar.gz
lwn-60f8667b618e1cb2ded148a7b767bbb70d6c191c.zip
btrfs: add multi-statement protection to btrfs_set/clear_and_info macros
Multi-statement macros should be enclosed in do/while(0) block to make their use safe in single statement if conditions. All current uses of the macros are safe, so this change is for future protection. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/block-group.h')
0 files changed, 0 insertions, 0 deletions