summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2017-02-27 18:43:12 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2017-02-27 10:40:09 -0800
commitb6895e8f99cd8e98056346c42732236b958aab83 (patch)
tree4ad23f2362d01dd8f9d25500a827818e78081507 /fs/f2fs
parent540faedb0036aca14ff90a7f679b008442bc9dd7 (diff)
downloadlinux-b6895e8f99cd8e98056346c42732236b958aab83.tar.gz
linux-b6895e8f99cd8e98056346c42732236b958aab83.tar.bz2
linux-b6895e8f99cd8e98056346c42732236b958aab83.zip
f2fs: fix memory leak of write_io_dummy mempool during umount
Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 751e1068db17..53305880c455 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -818,7 +818,7 @@ static void f2fs_put_super(struct super_block *sb)
kfree(sbi->raw_super);
destroy_device_list(sbi);
-
+ mempool_destroy(sbi->write_io_dummy);
destroy_percpu_info(sbi);
kfree(sbi);
}