summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/vfs.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/vfs.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/vfs.c')
-rw-r--r--fs/nfsd/vfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c
index 7518c65f9a5a..730f31964597 100644
--- a/fs/nfsd/vfs.c
+++ b/fs/nfsd/vfs.c
@@ -1505,8 +1505,7 @@ __be32
nfsd_symlink(struct svc_rqst *rqstp, struct svc_fh *fhp,
char *fname, int flen,
char *path,
- struct svc_fh *resfhp,
- struct iattr *iap)
+ struct svc_fh *resfhp)
{
struct dentry *dentry, *dnew;
__be32 err, cerr;