diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-08-14 15:55:08 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-08-20 18:53:25 -0400 |
commit | 24ff99c6fe0f071994262e39fa334f28606d2cad (patch) | |
tree | 80c486b4a5ce1c976397076bae574dfd1c9b1afa /fs/nfsd/nfs4proc.c | |
parent | 95c7a20aeb3a6425673b673417b29f427739f7e7 (diff) |
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>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 4 |
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 { | |||
1054 | char *op_name; | 1054 | char *op_name; |
1055 | /* Try to get response size before operation */ | 1055 | /* Try to get response size before operation */ |
1056 | nfsd4op_rsize op_rsize_bop; | 1056 | nfsd4op_rsize op_rsize_bop; |
1057 | stateid_setter op_get_currentstateid; | 1057 | stateid_getter op_get_currentstateid; |
1058 | stateid_getter op_set_currentstateid; | 1058 | stateid_setter op_set_currentstateid; |
1059 | }; | 1059 | }; |
1060 | 1060 | ||
1061 | static struct nfsd4_operation nfsd4_ops[]; | 1061 | static struct nfsd4_operation nfsd4_ops[]; |