summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-16 12:25:01 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-26 17:49:04 -0500
commite3725ec015dfbbeb896295cf2b3a995f28b0630e (patch)
tree1ec889fb5b29d2fa2da4912107d5c3dd41baba7f /include/linux/nfs_xdr.h
parent933602e368c4452260c9bff4fbb3baba35cf987a (diff)
downloadop-kernel-dev-e3725ec015dfbbeb896295cf2b3a995f28b0630e.zip
op-kernel-dev-e3725ec015dfbbeb896295cf2b3a995f28b0630e.tar.gz
NFSv4.1: Shrink struct nfs4_sequence_res by moving the session pointer
Move the session pointer into the slot table, then have struct nfs4_slot point to that slot table. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 9cb1c63..0fd88ab 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -187,6 +187,7 @@ struct nfs4_channel_attrs {
/* nfs41 sessions slot seqid */
struct nfs4_slot {
+ struct nfs4_slot_table *table;
unsigned long renewal_time;
u32 seq_nr;
};
@@ -198,7 +199,6 @@ struct nfs4_sequence_args {
};
struct nfs4_sequence_res {
- struct nfs4_session *sr_session;
struct nfs4_slot *sr_slot; /* slot used to send request */
int sr_status; /* sequence operation status */
u32 sr_status_flags;
OpenPOWER on IntegriCloud