summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorFilipe David Borba Manana2013-08-24 20:51:06 +0200
committerChris Mason2013-09-01 14:16:37 +0200
commitd8f980391f418e567c805d3e40be5d63bfc4c8ea (patch)
tree8e3d9574c126c3f2965c8f94cec14f392555ccb6 /fs/btrfs/ctree.h
parentbtrfs: reuse kbasename helper (diff)
downloadkernel-qcow2-linux-d8f980391f418e567c805d3e40be5d63bfc4c8ea.tar.gz
kernel-qcow2-linux-d8f980391f418e567c805d3e40be5d63bfc4c8ea.tar.xz
kernel-qcow2-linux-d8f980391f418e567c805d3e40be5d63bfc4c8ea.zip
Btrfs: fix memory leak of uuid_root in free_fs_info
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 1f3fd584e5f4..3c1da6f98a4d 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3460,6 +3460,7 @@ static inline void free_fs_info(struct btrfs_fs_info *fs_info)
kfree(fs_info->dev_root);
kfree(fs_info->csum_root);
kfree(fs_info->quota_root);
+ kfree(fs_info->uuid_root);
kfree(fs_info->super_copy);
kfree(fs_info->super_for_commit);
kfree(fs_info);