commit | c79adfc085c0662385cfcb55f15590303212e8e9 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri Aug 24 16:24:26 2018 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Apr 29 19:02:21 2019 +0200 |
tree | 56de865729349310e8e70178deb57a392104a757 | |
parent | e3f153886702302482918a3788ba3bb24a37a4aa [diff] |
btrfs: use assertion helpers for extent buffer write lock counters Use the helpers where open coded. On non-debug builds, the warnings will not trigger and extent_buffer::write_locks 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>