diff options
author | Boris Burkov <boris@bur.io> | 2024-03-26 21:55:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-17 13:14:42 +0300 |
commit | e976f51fca6889fdf95b22d05c6876dc42731e4d (patch) | |
tree | 4b753b47645b19509650513754d2e8c26c233d2c /include/linux/gfp_types.h | |
parent | 2018b712f34aea7dfeb11f4c5db93fed00508d15 (diff) | |
download | linux-e976f51fca6889fdf95b22d05c6876dc42731e4d.tar.xz |
btrfs: make btrfs_clear_delalloc_extent() free delalloc reserve
[ Upstream commit 3c6f0c5ecc8910d4ffb0dfe85609ebc0c91c8f34 ]
Currently, this call site in btrfs_clear_delalloc_extent() only converts
the reservation. We are marking it not delalloc, so I don't think it
makes sense to keep the rsv around. This is a path where we are not
sure to join a transaction, so it leads to incorrect free-ing during
umount.
Helps with the pass rate of generic/269 and generic/475.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Boris Burkov <boris@bur.io>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/gfp_types.h')
0 files changed, 0 insertions, 0 deletions