summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-12 09:03:27 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-12 09:03:27 -0400
commit83e15a28e046dbb4534dd263d1d3dc867a8994a2 (patch)
treeb6b2c9755520fd1c9993e847c8e7f1ef8be3f3e9 /fs/btrfs/disk-io.c
parent20524f02260910db1e67bd5335d3854e5e555efc (diff)
downloadlinux-83e15a28e046dbb4534dd263d1d3dc867a8994a2.tar.bz2
fix leak in btrfs_drop_snapshot
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 997cc578a185..c9201ec81fef 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -167,7 +167,7 @@ int commit_transaction(struct ctree_root *root, struct ctree_super_block *s)
root->node->count++;
ret = btrfs_drop_snapshot(root, snap);
BUG_ON(ret);
- tree_block_release(root, snap);
+ // tree_block_release(root, snap);
}
write_ctree_super(root, s);
btrfs_finish_extent_commit(root);