summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/inline.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-06-01 21:18:25 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2016-06-07 09:45:37 -0700
commit9f7c45ccd6d434e2778dd71fb825a7918979fc17 (patch)
treeb58a36dba2b8fe56e3cdd098bd784423c9ccb780 /fs/f2fs/inline.c
parentb230e6cabf9e77e210fe7990fea12f8894af0fc1 (diff)
downloadlinux-stable-9f7c45ccd6d434e2778dd71fb825a7918979fc17.tar.gz
linux-stable-9f7c45ccd6d434e2778dd71fb825a7918979fc17.tar.bz2
linux-stable-9f7c45ccd6d434e2778dd71fb825a7918979fc17.zip
f2fs: remove deprecated parameter
Remove deprecated paramter. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inline.c')
-rw-r--r--fs/f2fs/inline.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c
index 1eb30431bf44..669f92ffd111 100644
--- a/fs/f2fs/inline.c
+++ b/fs/f2fs/inline.c
@@ -582,14 +582,13 @@ void f2fs_delete_inline_entry(struct f2fs_dir_entry *dentry, struct page *page,
&inline_dentry->dentry_bitmap);
set_page_dirty(page);
+ f2fs_put_page(page, 1);
dir->i_ctime = dir->i_mtime = CURRENT_TIME;
mark_inode_dirty_sync(dir);
if (inode)
- f2fs_drop_nlink(dir, inode, page);
-
- f2fs_put_page(page, 1);
+ f2fs_drop_nlink(dir, inode);
}
bool f2fs_empty_inline_dir(struct inode *dir)