NFSv4.1 respect server's max size in CREATE_SESSION
authorOlga Kornievskaia <kolga@netapp.com>
Wed, 8 Mar 2017 19:39:15 +0000 (14:39 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 17 Mar 2017 20:07:03 +0000 (16:07 -0400)
commit033853325fe3bdc70819a8b97915bd3bca41d3af
treeddc85ac2ad855814ec74dd12b2c2202fa1a6ca2e
parent63513232f8cd219dcaa5eafae028740ed3067d83
NFSv4.1 respect server's max size in CREATE_SESSION

Currently client doesn't respect max sizes server returns in CREATE_SESSION.
nfs4_session_set_rwsize() gets called and server->rsize, server->wsize are 0
so they never get set to the sizes returned by the server.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4client.c