summaryrefslogtreecommitdiff
path: root/fs/f2fs/xattr.c
diff options
context:
space:
mode:
authorYunlei He <heyunlei@huawei.com>2017-07-17 14:16:11 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2017-07-27 05:34:30 +0300
commit5f4ce6abc2dadac67bfb8a14cfb1b9ac3941810f (patch)
tree6f3ad14a1fdd0b30efd7b4af6fdef7a49fe63843 /fs/f2fs/xattr.c
parentfd2b2c57ec2020ae1b5e24717a876c71e31e5ab8 (diff)
downloadlinux-5f4ce6abc2dadac67bfb8a14cfb1b9ac3941810f.tar.xz
f2fs: remove unused input parameter
This patch remove unused input parameter in function new_node_page. Signed-off-by: Yunlei He <heyunlei@huawei.com> Signed-off-by: Yong Sheng <shengyong1@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/xattr.c')
-rw-r--r--fs/f2fs/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/xattr.c b/fs/f2fs/xattr.c
index 832c5110abab..ef3a3721ea6b 100644
--- a/fs/f2fs/xattr.c
+++ b/fs/f2fs/xattr.c
@@ -442,7 +442,7 @@ static inline int write_all_xattrs(struct inode *inode, __u32 hsize,
} else {
struct dnode_of_data dn;
set_new_dnode(&dn, inode, NULL, NULL, new_nid);
- xpage = new_node_page(&dn, XATTR_NODE_OFFSET, ipage);
+ xpage = new_node_page(&dn, XATTR_NODE_OFFSET);
if (IS_ERR(xpage)) {
alloc_nid_failed(sbi, new_nid);
return PTR_ERR(xpage);