nfsd: do_nfsd_create verf argument is a u32
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 27 Jul 2012 19:50:11 +0000 (15:50 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 20 Aug 2012 22:39:49 +0000 (18:39 -0400)
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>
fs/nfsd/nfs3proc.c

index 9095f3c21df9e93a7bba11160f06896877851c09..97d90d1c86081edf89259bfc1c745082660855fc 100644 (file)
@@ -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);
 }