summaryrefslogtreecommitdiff
path: root/include/linux/gfp_types.h
diff options
context:
space:
mode:
authorBoris Burkov <boris@bur.io>2024-03-26 22:01:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-17 13:14:43 +0300
commit2ad74c58e8e2404ff8e1635d66952bda763c0b01 (patch)
tree3516e11efaaa22dc6ad31ccfe9a884bc8a06c6da /include/linux/gfp_types.h
parente976f51fca6889fdf95b22d05c6876dc42731e4d (diff)
downloadlinux-2ad74c58e8e2404ff8e1635d66952bda763c0b01.tar.xz
btrfs: always clear PERTRANS metadata during commit
[ Upstream commit 6e68de0bb0ed59e0554a0c15ede7308c47351e2d ] It is possible to clear a root's IN_TRANS tag from the radix tree, but not clear its PERTRANS, if there is some error in between. Eliminate that possibility by moving the free up to where we clear the tag. 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