summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-07-27 21:50:11 +0200
committerJ. Bruce Fields <bfields@redhat.com>2012-08-21 00:39:49 +0200
commit95c7a20aeb3a6425673b673417b29f427739f7e7 (patch)
tree03640538c8b49f93ac05ab390b2675ff70f63d9e /fs
parentnfsd4: declare nfs4_recoverydir properly (diff)
downloadlinux-95c7a20aeb3a6425673b673417b29f427739f7e7.tar.xz
linux-95c7a20aeb3a6425673b673417b29f427739f7e7.zip
nfsd: do_nfsd_create verf argument is a u32
The types here are actually a bit of a mess. For now cast as we do in the v4 case. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/nfs3proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c
index 9095f3c21df9..97d90d1c8608 100644
--- a/fs/nfsd/nfs3proc.c
+++ b/fs/nfsd/nfs3proc.c
@@ -247,7 +247,7 @@ nfsd3_proc_create(struct svc_rqst *rqstp, struct nfsd3_createargs *argp,
/* Now create the file and set attributes */
nfserr = do_nfsd_create(rqstp, dirfhp, argp->name, argp->len,
attr, newfhp,
- argp->createmode, argp->verf, NULL, NULL);
+ argp->createmode, (u32 *)argp->verf, NULL, NULL);
RETURN_STATUS(nfserr);
}