diff options
author | Marcos Paulo de Souza <mpdesouza@suse.com> | 2020-07-06 17:59:36 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-07-27 13:55:42 +0300 |
commit | 60f8667b618e1cb2ded148a7b767bbb70d6c191c (patch) | |
tree | caf7c4d1b2b9feea506e6a92e36835327b8c7c73 /fs/compat_binfmt_elf.c | |
parent | 93c4c033ec66d1de90d03bc11b7b338a01188954 (diff) | |
download | linux-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/compat_binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions