summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/dir.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-06-20 21:44:02 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2014-07-09 14:04:25 -0700
commita014e037be26b5c9ee6fb4e49e7804141cf3bb89 (patch)
tree1cd8ec5974bb15f6afe3010ce407365ca155fe81 /fs/f2fs/dir.c
parentb97a9b5da891ab6aff5a6a19c569c9c4c5563d48 (diff)
downloadlinux-a014e037be26b5c9ee6fb4e49e7804141cf3bb89.tar.bz2
f2fs: clean up an unused parameter and assignment
This patch cleans up simple unnecessary codes. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/dir.c')
-rw-r--r--fs/f2fs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c
index fb7e01ed47dc..087b03dbca9b 100644
--- a/fs/f2fs/dir.c
+++ b/fs/f2fs/dir.c
@@ -338,7 +338,7 @@ static struct page *init_inode_metadata(struct inode *inode,
int err;
if (is_inode_flag_set(F2FS_I(inode), FI_NEW_INODE)) {
- page = new_inode_page(inode, name);
+ page = new_inode_page(inode);
if (IS_ERR(page))
return page;