]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix the underestimation of delegation XDR space reservation
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 19 Feb 2017 21:08:29 +0000 (16:08 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 21 Feb 2017 21:56:16 +0000 (16:56 -0500)
commite52747f5056ff7d2dab1c894f22c00c3f20c1d82
tree7571cc9e0a50ff4033c50cdb7b4770dd9d8ffe80
parentf0ba483b62e2378b319c631e7b7f9ea3f402870a
NFSv4: Fix the underestimation of delegation XDR space reservation

Account for the "space_limit" field in struct open_write_delegation4.

Fixes: fce3c009b71f ("NFSv4: Fix the underestimate of NFSv4 open request size")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4xdr.c