summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorBenny Halevy2011-10-20 04:12:58 +0200
committerJ. Bruce Fields2011-10-24 10:24:27 +0200
commit5423732a71577f7860c56a4eea2c34ff162ddd73 (patch)
tree5d7af992af7ff974796288272ce2604dad8f1284 /fs/nfsd/state.h
parentnfsd4: implement new 4.1 open reclaim types (diff)
downloadkernel-qcow2-linux-5423732a71577f7860c56a4eea2c34ff162ddd73.tar.gz
kernel-qcow2-linux-5423732a71577f7860c56a4eea2c34ff162ddd73.tar.xz
kernel-qcow2-linux-5423732a71577f7860c56a4eea2c34ff162ddd73.zip
nfsd41: use SEQ4_STATUS_BACKCHANNEL_FAULT when cb_sequence is invalid
Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r--fs/nfsd/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index 1a5820066040..a3cf38476a1b 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -258,6 +258,7 @@ struct nfs4_client {
#define NFSD4_CB_UP 0
#define NFSD4_CB_UNKNOWN 1
#define NFSD4_CB_DOWN 2
+#define NFSD4_CB_FAULT 3
int cl_cb_state;
struct nfsd4_callback cl_cb_null;
struct nfsd4_session *cl_cb_session;