projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1691cf1
)
Btrfs: end transaction if we abort when creating uuid root
author
Josef Bacik
<jbacik@fb.com>
Wed, 23 Sep 2015 19:00:37 +0000
(15:00 -0400)
committer
David Sterba
<dsterba@suse.com>
Tue, 31 May 2016 22:32:42 +0000
(
00:32
+0200)
We still need to call btrfs_end_transaction if we call btrfs_abort_transaction,
otherwise we hang and make me super grumpy. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/volumes.c
b/fs/btrfs/volumes.c
index 9c01824eef084bfea25058317a4172c047aee4c5..673c72ab4fbe5087d69844420cc99d6b3b0e2df0 100644
(file)
--- a/
fs/btrfs/volumes.c
+++ b/
fs/btrfs/volumes.c
@@
-4230,6
+4230,7
@@
int btrfs_create_uuid_tree(struct btrfs_fs_info *fs_info)
if (IS_ERR(uuid_root)) {
ret = PTR_ERR(uuid_root);
btrfs_abort_transaction(trans, tree_root, ret);
+ btrfs_end_transaction(trans, tree_root);
return ret;
}