NFSv4: Fix the underestimation of delegation XDR space reservation
authorTrond Myklebust <[email protected]>
Sun, 19 Feb 2017 21:08:29 +0000 (16:08 -0500)
committerAnna Schumaker <[email protected]>
Tue, 21 Feb 2017 21:56:16 +0000 (16:56 -0500)
commit5a1f6d9e9b803003271b40b67786ff46fa4eda01
tree7571cc9e0a50ff4033c50cdb7b4770dd9d8ffe80
parentc065eeea3ba03232cb8aaf9d3dc7ad0a9fcb267b
NFSv4: Fix the underestimation of delegation XDR space reservation

Account for the "space_limit" field in struct open_write_delegation4.

Fixes: 2cebf82883f4 ("NFSv4: Fix the underestimate of NFSv4 open request size")
Signed-off-by: Trond Myklebust <[email protected]>
Reviewed-by: Chuck Lever <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
fs/nfs/nfs4xdr.c