summaryrefslogtreecommitdiff
path: root/inode-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'inode-map.c')
-rw-r--r--inode-map.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/inode-map.c b/inode-map.c
index 3e138b53..1321bfb3 100644
--- a/inode-map.c
+++ b/inode-map.c
@@ -90,12 +90,10 @@ int btrfs_find_free_objectid(struct btrfs_trans_handle *trans,
// FIXME -ENOSPC
found:
root->last_inode_alloc = *objectid;
- btrfs_release_path(path);
btrfs_free_path(path);
BUG_ON(*objectid < search_start);
return 0;
error:
- btrfs_release_path(path);
btrfs_free_path(path);
return ret;
}