summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2014-07-01 11:48:02 +0200
committerJ. Bruce Fields <bfields@redhat.com>2014-07-08 23:14:31 +0200
commit1e444f5bc0c468e244ee601b7acbd87f0b6ee7e2 (patch)
tree2ec226cadb020384e9f02ce3ff50dfab1941424b /fs/nfsd/nfs4proc.c
parentnfsd: Protect addition to the file_hashtbl (diff)
downloadlinux-1e444f5bc0c468e244ee601b7acbd87f0b6ee7e2.tar.xz
linux-1e444f5bc0c468e244ee601b7acbd87f0b6ee7e2.zip
NFSD: Remove iattr parameter from nfsd_symlink()
Commit db2e747b1499 (vfs: remove mode parameter from vfs_symlink()) have remove mode parameter from vfs_symlink. So that, iattr isn't needed by nfsd_symlink now, just remove it. Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r--fs/nfsd/nfs4proc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index b57c8826ce08..9425ffc48809 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -623,8 +623,7 @@ nfsd4_create(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
case NF4LNK:
status = nfsd_symlink(rqstp, &cstate->current_fh,
create->cr_name, create->cr_namelen,
- create->cr_data,
- &resfh, &create->cr_iattr);
+ create->cr_data, &resfh);
break;
case NF4BLK: