commit | afd495a8264fb25cef49834b5c3559b8aaa612ee | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri Aug 24 15:57:38 2018 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Apr 29 19:02:21 2019 +0200 |
tree | 8196e1c261b761ac8e4bcec38ee896bb8ce538fd | |
parent | 225948dedc9d3ac514eb1f4b7318d541cfd80aaf [diff] |
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>