diff options
author | Weston Andros Adamson <dros@netapp.com> | 2012-05-24 13:22:50 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-24 16:22:19 -0400 |
commit | 7c44f1ae4a21458a1ea3d6482ffb3136f1df6d2b (patch) | |
tree | a66f9b3fb7a5252a87dbcee40562a1e8ed47dc9b /include/linux/nfs4.h | |
parent | d23d61c8d351f5ced44ce87caf1fa3baab4c3f89 (diff) |
nfs4.1: add BIND_CONN_TO_SESSION operation
This patch adds the BIND_CONN_TO_SESSION operation which is needed for
upcoming SP4_MACH_CRED work and useful for recovering from broken connections
without destroying the session.
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs4.h')
-rw-r--r-- | include/linux/nfs4.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h index 72b6bada0d79..a2b71cbfc44a 100644 --- a/include/linux/nfs4.h +++ b/include/linux/nfs4.h | |||
@@ -69,6 +69,10 @@ | |||
69 | #define NFS4_CDFC4_FORE_OR_BOTH 0x3 | 69 | #define NFS4_CDFC4_FORE_OR_BOTH 0x3 |
70 | #define NFS4_CDFC4_BACK_OR_BOTH 0x7 | 70 | #define NFS4_CDFC4_BACK_OR_BOTH 0x7 |
71 | 71 | ||
72 | #define NFS4_CDFS4_FORE 0x1 | ||
73 | #define NFS4_CDFS4_BACK 0x2 | ||
74 | #define NFS4_CDFS4_BOTH 0x3 | ||
75 | |||
72 | #define NFS4_SET_TO_SERVER_TIME 0 | 76 | #define NFS4_SET_TO_SERVER_TIME 0 |
73 | #define NFS4_SET_TO_CLIENT_TIME 1 | 77 | #define NFS4_SET_TO_CLIENT_TIME 1 |
74 | 78 | ||
@@ -589,6 +593,7 @@ enum { | |||
589 | NFSPROC4_CLNT_SECINFO, | 593 | NFSPROC4_CLNT_SECINFO, |
590 | 594 | ||
591 | /* nfs41 */ | 595 | /* nfs41 */ |
596 | NFSPROC4_CLNT_BIND_CONN_TO_SESSION, | ||
592 | NFSPROC4_CLNT_EXCHANGE_ID, | 597 | NFSPROC4_CLNT_EXCHANGE_ID, |
593 | NFSPROC4_CLNT_CREATE_SESSION, | 598 | NFSPROC4_CLNT_CREATE_SESSION, |
594 | NFSPROC4_CLNT_DESTROY_SESSION, | 599 | NFSPROC4_CLNT_DESTROY_SESSION, |