diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2011-06-02 14:59:08 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-07-12 13:40:27 -0400 |
commit | 7d9747947ae66d8f6a9a9a023a3a5e28df6a536e (patch) | |
tree | f0fc49559d1653e7e1e8597cf07f9f04cff9d237 /include/linux/nfs_xdr.h | |
parent | fca78d6d2c77f87d7dbee89bbe4836a44da881e2 (diff) |
NFS: Added TEST_STATEID call
This patch adds in the xdr for doing a TEST_STATEID call with a single
stateid. RFC 5661 allows multiple stateids to be tested in a single
call, but only testing one keeps things simpler for now.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 7159e1da63b6..e696c1fb139a 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -1092,6 +1092,16 @@ struct nfs41_secinfo_no_name_args { | |||
1092 | struct nfs4_sequence_args seq_args; | 1092 | struct nfs4_sequence_args seq_args; |
1093 | }; | 1093 | }; |
1094 | 1094 | ||
1095 | struct nfs41_test_stateid_args { | ||
1096 | nfs4_stateid *stateid; | ||
1097 | struct nfs4_sequence_args seq_args; | ||
1098 | }; | ||
1099 | |||
1100 | struct nfs41_test_stateid_res { | ||
1101 | unsigned int status; | ||
1102 | struct nfs4_sequence_res seq_res; | ||
1103 | }; | ||
1104 | |||
1095 | #endif /* CONFIG_NFS_V4_1 */ | 1105 | #endif /* CONFIG_NFS_V4_1 */ |
1096 | 1106 | ||
1097 | struct nfs_page; | 1107 | struct nfs_page; |