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-06 00:30:42 +0100 |
commit | 87dda67e7386ba7d2164391ea58b34e028d8157b (patch) | |
tree | 9f8740fa1631a5bb5d3163d86783a764d542cbc6 /include/linux/nfs_xdr.h | |
parent | 97e548a93de213b149eea025a97d88e28143b445 (diff) | |
download | linux-stable-87dda67e7386ba7d2164391ea58b34e028d8157b.tar.gz linux-stable-87dda67e7386ba7d2164391ea58b34e028d8157b.tar.bz2 linux-stable-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.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 { /* 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; |