commit | 60f8667b618e1cb2ded148a7b767bbb70d6c191c | [log] [tgz] |
---|---|---|
author | Marcos Paulo de Souza <mpdesouza@suse.com> | Mon Jul 06 11:59:36 2020 -0300 |
committer | David Sterba <dsterba@suse.com> | Mon Jul 27 12:55:42 2020 +0200 |
tree | caf7c4d1b2b9feea506e6a92e36835327b8c7c73 | |
parent | 93c4c033ec66d1de90d03bc11b7b338a01188954 [diff] |
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>