aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2010-06-06 18:37:16 -0400
committerJ. Bruce Fields <bfields@redhat.com>2010-10-01 19:29:44 -0400
commit19cf5c026f3ee06027523e59478e3fa54f573e5e (patch)
treee1162b69d7a558193b740344794d647a3d15e121 /fs/nfsd/state.h
parentedc7a894034acb4c7ff8305716ca5df8aaf8e642 (diff)
nfsd4: use callbacks on svc_xprt_deletion
Remove connections from the list when they go down. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r--fs/nfsd/state.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index 29413c2ed270..8d5e2370cce0 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -35,6 +35,7 @@
35#ifndef _NFSD4_STATE_H 35#ifndef _NFSD4_STATE_H
36#define _NFSD4_STATE_H 36#define _NFSD4_STATE_H
37 37
38#include <linux/sunrpc/svc_xprt.h>
38#include <linux/nfsd/nfsfh.h> 39#include <linux/nfsd/nfsfh.h>
39#include "nfsfh.h" 40#include "nfsfh.h"
40 41
@@ -155,6 +156,8 @@ struct nfsd4_clid_slot {
155struct nfsd4_conn { 156struct nfsd4_conn {
156 struct list_head cn_persession; 157 struct list_head cn_persession;
157 struct svc_xprt *cn_xprt; 158 struct svc_xprt *cn_xprt;
159 struct svc_xpt_user cn_xpt_user;
160 struct nfsd4_session *cn_session;
158/* CDFC4_FORE, CDFC4_BACK: */ 161/* CDFC4_FORE, CDFC4_BACK: */
159 unsigned char cn_flags; 162 unsigned char cn_flags;
160}; 163};