projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
540faed
)
f2fs: fix memory leak of write_io_dummy mempool during umount
author
Chao Yu
<yuchao0@huawei.com>
Mon, 27 Feb 2017 10:43:12 +0000
(18:43 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Mon, 27 Feb 2017 18:40:09 +0000
(10:40 -0800)
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/super.c
b/fs/f2fs/super.c
index
751e106
..
5330588
100644
(file)
--- 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);
}