aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/root-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/root-tree.c')
-rw-r--r--fs/btrfs/root-tree.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c
index 1b9a5d0de139..22124122728c 100644
--- a/fs/btrfs/root-tree.c
+++ b/fs/btrfs/root-tree.c
@@ -132,10 +132,8 @@ int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root
132 return -ENOMEM; 132 return -ENOMEM;
133 133
134 ret = btrfs_search_slot(trans, root, key, path, 0, 1); 134 ret = btrfs_search_slot(trans, root, key, path, 0, 1);
135 if (ret < 0) { 135 if (ret < 0)
136 btrfs_abort_transaction(trans, ret);
137 goto out; 136 goto out;
138 }
139 137
140 if (ret > 0) { 138 if (ret > 0) {
141 btrfs_crit(fs_info, 139 btrfs_crit(fs_info,