summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-20 19:49:20 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-12-06 00:30:42 +0100
commit87dda67e7386ba7d2164391ea58b34e028d8157b (patch)
tree9f8740fa1631a5bb5d3163d86783a764d542cbc6 /include/linux/nfs_xdr.h
parent97e548a93de213b149eea025a97d88e28143b445 (diff)
downloadblackbird-op-linux-87dda67e7386ba7d2164391ea58b34e028d8157b.tar.gz
blackbird-op-linux-87dda67e7386ba7d2164391ea58b34e028d8157b.zip
NFSv4.1: Allow SEQUENCE to resize the slot table on the fly
Instead of an array of slots, use a singly linked list of slots that can be dynamically appended to or shrunk. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 3ddb08fba935..44d256f6021c 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -188,6 +188,7 @@ struct nfs4_channel_attrs {
/* nfs41 sessions slot seqid */
struct nfs4_slot {
struct nfs4_slot_table *table;
+ struct nfs4_slot *next;
unsigned long generation;
unsigned long renewal_time;
u32 slot_nr;
OpenPOWER on IntegriCloud