diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 35e712bbccf1..da9592d88edb 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -818,7 +818,8 @@ static void f2fs_put_super(struct super_block *sb) kfree(sbi->raw_super); destroy_device_list(sbi); - + if (sbi->write_io_dummy) + mempool_destroy(sbi->write_io_dummy); destroy_percpu_info(sbi); kfree(sbi); }