From: Chao Yu Date: Mon, 27 Feb 2017 10:43:12 +0000 (+0800) Subject: f2fs: fix memory leak of write_io_dummy mempool during umount X-Git-Tag: rel_imx_4.19.35_1.1.0~13037^2~7 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=b6895e8f99cd8e98056346c42732236b958aab83;p=linux.git f2fs: fix memory leak of write_io_dummy mempool during umount Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- 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); }