Commit 0ffe70f
committed
btrfs: assert block group is locked in btrfs_use_block_group_size_class()
It's supposed to be called with the block group locked, in order to read
and set its size_class member, so assert it's locked.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>1 parent 61e9387 commit 0ffe70f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4755 | 4755 | | |
4756 | 4756 | | |
4757 | 4757 | | |
| 4758 | + | |
4758 | 4759 | | |
4759 | 4760 | | |
4760 | 4761 | | |
| |||
0 commit comments