Commit d3e2996
btrfs: zoned: put block group after final usage
It's counter-intuitive (and wrong) to put the block group _before_ the
final usage in submit_eb_page. Fix it by re-ordering the call to
btrfs_put_block_group after its final reference. Also fix a minor typo
in 'implies'
Fixes: be1a1d7 ("btrfs: zoned: finish fully written block group")
CC: stable@vger.kernel.org # 5.16+
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent 79c9234 commit d3e2996
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4786 | 4786 | | |
4787 | 4787 | | |
4788 | 4788 | | |
4789 | | - | |
4790 | | - | |
4791 | | - | |
| 4789 | + | |
| 4790 | + | |
| 4791 | + | |
4792 | 4792 | | |
4793 | 4793 | | |
| 4794 | + | |
4794 | 4795 | | |
4795 | 4796 | | |
4796 | 4797 | | |
| |||
0 commit comments