summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-07-27 23:50:11 +0400
committerJ. Bruce Fields <bfields@redhat.com>2012-08-21 02:39:49 +0400
commit95c7a20aeb3a6425673b673417b29f427739f7e7 (patch)
tree03640538c8b49f93ac05ab390b2675ff70f63d9e /fs
parent87f26f9b087643d2e28a5dfbec2e03ac09422fc4 (diff)
downloadlinux-95c7a20aeb3a6425673b673417b29f427739f7e7.tar.xz
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);
}