Commit b6895e8f authored by Chao Yu's avatar Chao Yu Committed by Jaegeuk Kim

f2fs: fix memory leak of write_io_dummy mempool during umount

Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 540faedb
...@@ -818,7 +818,7 @@ static void f2fs_put_super(struct super_block *sb) ...@@ -818,7 +818,7 @@ static void f2fs_put_super(struct super_block *sb)
kfree(sbi->raw_super); kfree(sbi->raw_super);
destroy_device_list(sbi); destroy_device_list(sbi);
mempool_destroy(sbi->write_io_dummy);
destroy_percpu_info(sbi); destroy_percpu_info(sbi);
kfree(sbi); kfree(sbi);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment