diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-06-13 18:27:02 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-07-06 10:44:07 -0700 |
commit | 67c3758d2267de589ee9a8856fe637cce85993d9 (patch) | |
tree | 472822e307b67d50f851020a8ae04118cbefcbc4 /fs/f2fs/dir.c | |
parent | 3e19886eda963f0c1438b2d1a40334d421cd09a2 (diff) | |
download | linux-stable-67c3758d2267de589ee9a8856fe637cce85993d9.tar.gz linux-stable-67c3758d2267de589ee9a8856fe637cce85993d9.tar.bz2 linux-stable-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); } |