Commit 9f96ec8
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 <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>1 parent 1ea3aa3 commit 9f96ec8
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