summaryrefslogtreecommitdiff
path: root/fs/btrfs/props.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-08-24 16:57:38 +0300
committerDavid Sterba <dsterba@suse.com>2019-04-29 20:02:21 +0300
commitafd495a8264fb25cef49834b5c3559b8aaa612ee (patch)
tree8196e1c261b761ac8e4bcec38ee896bb8ce538fd /fs/btrfs/props.h
parent225948dedc9d3ac514eb1f4b7318d541cfd80aaf (diff)
downloadlinux-afd495a8264fb25cef49834b5c3559b8aaa612ee.tar.xz
btrfs: use assertion helpers for spinning readers
Use the helpers where open coded. On non-debug builds, the warnings will not trigger and extent_buffer::spining_readers become unused and can be moved to the appropriate section, saving a few bytes. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/props.h')
0 files changed, 0 insertions, 0 deletions