diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2011-06-02 14:59:07 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-07-12 13:40:27 -0400 |
commit | fca78d6d2c77f87d7dbee89bbe4836a44da881e2 (patch) | |
tree | 5378bd6ad0917cf11ad7f7b739b71794df230c85 /include/linux/nfs_xdr.h | |
parent | 6382a44138e7aa40bf52170e7afc014443a24806 (diff) |
NFS: Add SECINFO_NO_NAME procedure
If the client is using NFS v4.1, then we can use SECINFO_NO_NAME to find
the secflavor for the initial mount. If the server doesn't support
SECINFO_NO_NAME then I fall back on the "guess and check" method used
for v4.0 mounts.
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 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index c4d98df884f3..7159e1da63b6 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -1084,6 +1084,14 @@ struct nfs41_reclaim_complete_args { | |||
1084 | struct nfs41_reclaim_complete_res { | 1084 | struct nfs41_reclaim_complete_res { |
1085 | struct nfs4_sequence_res seq_res; | 1085 | struct nfs4_sequence_res seq_res; |
1086 | }; | 1086 | }; |
1087 | |||
1088 | #define SECINFO_STYLE_CURRENT_FH 0 | ||
1089 | #define SECINFO_STYLE_PARENT 1 | ||
1090 | struct nfs41_secinfo_no_name_args { | ||
1091 | int style; | ||
1092 | struct nfs4_sequence_args seq_args; | ||
1093 | }; | ||
1094 | |||
1087 | #endif /* CONFIG_NFS_V4_1 */ | 1095 | #endif /* CONFIG_NFS_V4_1 */ |
1088 | 1096 | ||
1089 | struct nfs_page; | 1097 | struct nfs_page; |