btrfs: don't free the async_extent in submit_uncompressed_range
authorChristoph Hellwig <hch@lst.de>
Mon, 27 Mar 2023 00:49:48 +0000 (09:49 +0900)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:22 +0000 (18:01 +0200)
commite43a6210b79815dbd33705b11fe44141f53f371f
tree2a210646b01f0fdb42ba364869969fbde91eebd5
parent05d06a5c9d9c3c8119c365246dc1e3de2e3c5dd1
btrfs: don't free the async_extent in submit_uncompressed_range

Let submit_one_async_extent, which is the only caller of
submit_uncompressed_range handle freeing of the async_extent in one
central place.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c