summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsproc.c
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2014-07-01 17:48:02 +0800
committerJ. Bruce Fields <bfields@redhat.com>2014-07-08 17:14:31 -0400
commit1e444f5bc0c468e244ee601b7acbd87f0b6ee7e2 (patch)
tree2ec226cadb020384e9f02ce3ff50dfab1941424b /fs/nfsd/nfsproc.c
parent950e0118d06fae26e07b283b83e96124a2075a1d (diff)
downloadop-kernel-dev-1e444f5bc0c468e244ee601b7acbd87f0b6ee7e2.zip
op-kernel-dev-1e444f5bc0c468e244ee601b7acbd87f0b6ee7e2.tar.gz
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/nfsproc.c')
-rw-r--r--fs/nfsd/nfsproc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c
index 583ed03..eff4955 100644
--- a/fs/nfsd/nfsproc.c
+++ b/fs/nfsd/nfsproc.c
@@ -409,9 +409,7 @@ nfsd_proc_symlink(struct svc_rqst *rqstp, struct nfsd_symlinkargs *argp,
*/
argp->tname[argp->tlen] = '\0';
nfserr = nfsd_symlink(rqstp, &argp->ffh, argp->fname, argp->flen,
- argp->tname,
- &newfh, &argp->attrs);
-
+ argp->tname, &newfh);
fh_put(&argp->ffh);
fh_put(&newfh);
OpenPOWER on IntegriCloud