commit | 843ccf9f46baff289946e897b11fd813de62d06f | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri Aug 24 14:56:28 2018 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Apr 29 19:02:20 2019 +0200 |
tree | 6cd5a503bd2492124fe8fe4a463f5953d658df47 | |
parent | e4e9fd0f326212ee3971418334c255a26c8a2735 [diff] |
btrfs: use assertion helpers for spinning writers Use the helpers where open coded. On non-debug builds, the warnings will not trigger and extent_buffer::spining_writers 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>