diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-05-02 22:09:56 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-05-07 10:32:25 -0700 |
commit | 74ef924167ad9d2897ffc0ef83c7ebf322fcc535 (patch) | |
tree | 4271f8dfd76d286837bbbd131a83d93ccb6654da /fs/f2fs/super.c | |
parent | 221149c00e64c202e6e172a9c4efad142a6b610d (diff) |
f2fs: fix leak of orphan inode objects
When unmounting filesystem, we should release all the ino entries.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r-- | fs/f2fs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 87654f48c55d..8a28f799a24f 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -599,7 +599,7 @@ static void f2fs_put_super(struct super_block *sb) * normally superblock is clean, so we need to release this. * In addition, EIO will skip do checkpoint, we need this as well. */ - release_ino_entry(sbi); + release_ino_entry(sbi, true); release_discard_addrs(sbi); f2fs_leave_shrinker(sbi); |