commit | 83a4d54840c88a4a45c49670f044b8c7ddeaa8c7 | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Mon Dec 27 16:19:53 2010 +0800 |
committer | Li Zefan <lizf@cn.fujitsu.com> | Thu Jan 27 01:05:02 2011 +0800 |
tree | a2a9290eb6dec1dd7d0bcb51a4006a363e203b99 | |
parent | f333adb5d64bc1c4d6099072fc341c3c8f84e0cf [diff] [blame] |
Btrfs: Fix memory leak at umount fs_info, which is allocated in open_ctree(), should be freed in close_ctree(). Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index a5d2249..089871e 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c
@@ -2513,6 +2513,8 @@ kfree(fs_info->chunk_root); kfree(fs_info->dev_root); kfree(fs_info->csum_root); + kfree(fs_info); + return 0; }