Selaa lähdekoodia

NFSD: Swap the struct nfs4_operation getter and setter

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>
Bryan Schumaker 13 vuotta sitten
vanhempi
commit
24ff99c6fe
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      fs/nfsd/nfs4proc.c

+ 2 - 2
fs/nfsd/nfs4proc.c

@@ -1054,8 +1054,8 @@ struct nfsd4_operation {
 	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[];