summaryrefslogtreecommitdiff
path: root/fs/stack.c
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <mpdesouza@suse.com>2020-07-06 17:59:36 +0300
committerDavid Sterba <dsterba@suse.com>2020-07-27 13:55:42 +0300
commit60f8667b618e1cb2ded148a7b767bbb70d6c191c (patch)
treecaf7c4d1b2b9feea506e6a92e36835327b8c7c73 /fs/stack.c
parent93c4c033ec66d1de90d03bc11b7b338a01188954 (diff)
downloadlinux-60f8667b618e1cb2ded148a7b767bbb70d6c191c.tar.xz
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/stack.c')
0 files changed, 0 insertions, 0 deletions