summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2010-10-04 23:12:59 -0400
committerJ. Bruce Fields <bfields@redhat.com>2011-01-11 15:04:09 -0500
commit1d1bc8f2074f0b728dfca2a3c16f2f5a3f298ffc (patch)
tree314aae91a98ab5358886a1d8517151f40816ec4c /fs/nfsd/state.h
parent4c6493785a1ea9c3b3522f199760a90a30e1626c (diff)
downloadop-kernel-dev-1d1bc8f2074f0b728dfca2a3c16f2f5a3f298ffc.zip
op-kernel-dev-1d1bc8f2074f0b728dfca2a3c16f2f5a3f298ffc.tar.gz
nfsd4: support BIND_CONN_TO_SESSION
Basic xdr and processing for BIND_CONN_TO_SESSION. This adds a connection to the list of connections associated with a session. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r--fs/nfsd/state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index cf6dc83..442f6d8 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -148,6 +148,11 @@ struct nfsd4_create_session {
u32 gid;
};
+struct nfsd4_bind_conn_to_session {
+ struct nfs4_sessionid sessionid;
+ u32 dir;
+};
+
/* The single slot clientid cache structure */
struct nfsd4_clid_slot {
u32 sl_seqid;
OpenPOWER on IntegriCloud