diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-06-14 03:27:02 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-07-06 19:44:07 +0200 |
commit | 67c3758d2267de589ee9a8856fe637cce85993d9 (patch) | |
tree | 472822e307b67d50f851020a8ae04118cbefcbc4 /fs/f2fs/dir.c | |
parent | f2fs: report error for f2fs_parent_dir (diff) | |
download | linux-67c3758d2267de589ee9a8856fe637cce85993d9.tar.xz linux-67c3758d2267de589ee9a8856fe637cce85993d9.zip |
f2fs: call update_inode_page for orphan inodes
Let's store orphan inode pages right away.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/dir.c')
-rw-r--r-- | fs/f2fs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index 72a0207f56a1..7ba52a04e13a 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c @@ -666,7 +666,7 @@ void f2fs_drop_nlink(struct inode *dir, struct inode *inode) up_write(&F2FS_I(inode)->i_sem); if (inode->i_nlink == 0) - add_orphan_inode(sbi, inode->i_ino); + add_orphan_inode(inode); else release_orphan_inode(sbi); } |