aboutsummaryrefslogtreecommitdiffstats
path: root/disk-io.c
diff options
context:
space:
mode:
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>2014-09-04 11:09:23 +0800
committerDavid Sterba <dsterba@suse.cz>2014-09-14 19:06:12 +0200
commit0f500df7b60ae435e4d30c431b4b25a5120c78a3 (patch)
treeb3659589bca52fca600169b7504e9f88cfcbaa72 /disk-io.c
parent6a47725a6fb8a463dd60611800222c7297195588 (diff)
downloadbtrfs-progs-0f500df7b60ae435e4d30c431b4b25a5120c78a3.tar.gz
btrfs-progs-0f500df7b60ae435e4d30c431b4b25a5120c78a3.tar.xz
btrfs-progs-0f500df7b60ae435e4d30c431b4b25a5120c78a3.zip
btrfs-progs: remove btrfs_release_path before btrfs_free_path
The btrfs_free_path calls btrfs_release_path internally. Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'disk-io.c')
-rw-r--r--disk-io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/disk-io.c b/disk-io.c
index 1f1ce75..26a532e 100644
--- a/disk-io.c
+++ b/disk-io.c
@@ -628,7 +628,6 @@ struct btrfs_root *btrfs_read_fs_root_no_cache(struct btrfs_fs_info *fs_info,
memcpy(&root->root_key, location, sizeof(*location));
ret = 0;
out:
- btrfs_release_path(path);
btrfs_free_path(path);
if (ret) {
free(root);