summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Schumaker2012-08-14 21:55:08 +0200
committerJ. Bruce Fields2012-08-21 00:53:25 +0200
commit24ff99c6fe0f071994262e39fa334f28606d2cad (patch)
tree80c486b4a5ce1c976397076bae574dfd1c9b1afa
parentnfsd: do_nfsd_create verf argument is a u32 (diff)
downloadkernel-qcow2-linux-24ff99c6fe0f071994262e39fa334f28606d2cad.tar.gz
kernel-qcow2-linux-24ff99c6fe0f071994262e39fa334f28606d2cad.tar.xz
kernel-qcow2-linux-24ff99c6fe0f071994262e39fa334f28606d2cad.zip
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>
-rw-r--r--fs/nfsd/nfs4proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index c9c1c0a25417..f2bb0ef67b2a 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/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[];