summaryrefslogtreecommitdiffstats
path: root/fs/readdir.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2022-03-07 14:30:02 +0100
committerDavid Sterba <dsterba@suse.com>2022-03-14 13:13:54 +0100
commitd3e29967079c522ce1c5cab0e9fab2c280b977eb (patch)
treebf895d0131bffbbd0c7a5cd40ba497ddee137037 /fs/readdir.c
parentbtrfs: don't access possibly stale fs_info data in device_list_add (diff)
downloadlinux-d3e29967079c522ce1c5cab0e9fab2c280b977eb.tar.xz
linux-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: 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>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions