NFSv4.1: Use session max response size for GETDEVICEINFO gdia_maxcount
authorAndy Adamson <andros@netapp.com>
Thu, 7 Jun 2012 03:57:13 +0000 (23:57 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 28 Jun 2012 21:20:50 +0000 (17:20 -0400)
commit05bf14adcac188f573e22f72734fd0e2fab71aec
tree98ab947c17b7fba42a6de59fba8915cebb71276f
parent2f2c63bc221c5fcded24de2704575d0abf96b910
NFSv4.1: Use session max response size for GETDEVICEINFO gdia_maxcount

We prepare for the largest possible GETDEVICEINFO response, which
can not be greater than the negotiated session maximum response size.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayoutdev.c