summaryrefslogtreecommitdiffstats
path: root/fs/attr.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2021-09-08 16:29:26 +0100
committerDavid Sterba <dsterba@suse.com>2021-09-17 19:29:41 +0200
commitacbee9aff8aea4b9b66ab3d5cee6b8dbc153dc38 (patch)
tree44dca0bba59f78b95b194480868c29712adc9e61 /fs/attr.c
parentbbc9a6eb5eec03dcafee266b19f56295e3b2aa8f (diff)
downloadlinux-acbee9aff8aea4b9b66ab3d5cee6b8dbc153dc38.tar.bz2
btrfs: fix transaction handle leak after verity rollback failure
During a verity rollback, if we fail to update the inode or delete the orphan, we abort the transaction and return without releasing our transaction handle. Fix that by releasing the handle. Fixes: 146054090b0859 ("btrfs: initial fsverity support") Fixes: 705242538ff348 ("btrfs: verity metadata orphan items") Reviewed-by: Boris Burkov <boris@bur.io> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions