diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-20 19:49:20 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-05 18:30:42 -0500 |
commit | 87dda67e7386ba7d2164391ea58b34e028d8157b (patch) | |
tree | 9f8740fa1631a5bb5d3163d86783a764d542cbc6 /include/linux/nfs_xdr.h | |
parent | 97e548a93de213b149eea025a97d88e28143b445 (diff) |
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.h | 1 |
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 { | |||
188 | /* nfs41 sessions slot seqid */ | 188 | /* nfs41 sessions slot seqid */ |
189 | struct nfs4_slot { | 189 | struct nfs4_slot { |
190 | struct nfs4_slot_table *table; | 190 | struct nfs4_slot_table *table; |
191 | struct nfs4_slot *next; | ||
191 | unsigned long generation; | 192 | unsigned long generation; |
192 | unsigned long renewal_time; | 193 | unsigned long renewal_time; |
193 | u32 slot_nr; | 194 | u32 slot_nr; |