NFSD: Swap the struct nfs4_operation getter and setter
authorBryan Schumaker <bjschuma@netapp.com>
Tue, 14 Aug 2012 19:55:08 +0000 (15:55 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 20 Aug 2012 22:53:25 +0000 (18:53 -0400)
stateid_setter should be matched to op_set_currentstateid, rather than
op_get_currentstateid.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c

index c9c1c0a..f2bb0ef 100644 (file)
@@ -1054,8 +1054,8 @@ struct nfsd4_operation {
        char *op_name;
        /* Try to get response size before operation */
        nfsd4op_rsize op_rsize_bop;
        char *op_name;
        /* Try to get response size before operation */
        nfsd4op_rsize op_rsize_bop;
-       stateid_setter op_get_currentstateid;
-       stateid_getter op_set_currentstateid;
+       stateid_getter op_get_currentstateid;
+       stateid_setter op_set_currentstateid;
 };
 
 static struct nfsd4_operation nfsd4_ops[];
 };
 
 static struct nfsd4_operation nfsd4_ops[];