summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-20 11:02:55 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-21 09:29:51 -0500
commitae72ae676045274c82f3c25159a9dd7cfcf5ffae (patch)
tree09013f55649287d90b48f63cdbdbef44b17ae521 /include/linux/nfs_fs_sb.h
parent5df904aeb0d9baad90e78fc730dfe1afa4996005 (diff)
downloadlinux-ae72ae676045274c82f3c25159a9dd7cfcf5ffae.tar.gz
linux-ae72ae676045274c82f3c25159a9dd7cfcf5ffae.tar.bz2
linux-ae72ae676045274c82f3c25159a9dd7cfcf5ffae.zip
NFSv4.1: Don't confuse CREATE_SESSION arguments and results
Don't store the target request and response sizes in the same variables used to store the server's replies to those targets. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r--include/linux/nfs_fs_sb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index a9e76ee1adca..97c8f9191880 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -242,6 +242,9 @@ struct nfs4_session {
struct nfs4_channel_attrs bc_attrs;
struct nfs4_slot_table bc_slot_table;
struct nfs_client *clp;
+ /* Create session arguments */
+ unsigned int fc_target_max_rqst_sz;
+ unsigned int fc_target_max_resp_sz;
};
#endif /* CONFIG_NFS_V4 */