diff options
| author | Nikolay Borisov <[email protected]> | 2022-03-07 13:30:02 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-03-14 12:13:54 +0000 |
| commit | d3e29967079c522ce1c5cab0e9fab2c280b977eb (patch) | |
| tree | bf895d0131bffbbd0c7a5cd40ba497ddee137037 /lib/overflow_kunit.c | |
| parent | btrfs: don't access possibly stale fs_info data in device_list_add (diff) | |
| download | kernel-d3e29967079c522ce1c5cab0e9fab2c280b977eb.tar.gz kernel-d3e29967079c522ce1c5cab0e9fab2c280b977eb.zip | |
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: be1a1d7a5d24 ("btrfs: zoned: finish fully written block group")
CC: [email protected] # 5.16+
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Nikolay Borisov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions
