Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}