summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@gmail.com>2013-08-24 19:51:06 +0100
committerChris Mason <chris.mason@fusionio.com>2013-09-01 08:16:37 -0400
commitd8f980391f418e567c805d3e40be5d63bfc4c8ea (patch)
tree8e3d9574c126c3f2965c8f94cec14f392555ccb6 /fs
parented84885d1e03839b8508ab707657d8d1002edea6 (diff)
downloadop-kernel-dev-d8f980391f418e567c805d3e40be5d63bfc4c8ea.zip
op-kernel-dev-d8f980391f418e567c805d3e40be5d63bfc4c8ea.tar.gz
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')
-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 1f3fd58..3c1da6f 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);
OpenPOWER on IntegriCloud