summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-16 12:45:06 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-26 17:49:51 -0500
commitdf2fabffbace8988f3265585ec793ff9deccdea7 (patch)
tree42aa051469cfd040504597235e462f2077b1ed0e /include/linux/nfs_xdr.h
parente3725ec015dfbbeb896295cf2b3a995f28b0630e (diff)
NFSv4.1: Label each entry in the session slot tables with its slot number
Instead of doing slot table pointer gymnastics every time we want to know which slot we're using. 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 0fd88ab0e81..9c9b76c94b4 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -189,6 +189,7 @@ struct nfs4_channel_attrs {
struct nfs4_slot {
struct nfs4_slot_table *table;
unsigned long renewal_time;
+ u32 slot_nr;
u32 seq_nr;
};