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>
This commit is contained in:
parent
540faedb00
commit
b6895e8f99
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue