]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Add missing encode / decode sequence_maxsz to v4.2 operations
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 1 Mar 2019 21:09:56 +0000 (16:09 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 1 Mar 2019 21:19:46 +0000 (16:19 -0500)
commit5673188d7284848b41898bc2ce2aab8f0ca2f952
treeca76bf069b81d0751d7770851730282b69b1c58d
parent5e08cd5c71d0b5ee0d02d526f43f8fae78c55674
NFS: Add missing encode / decode sequence_maxsz to v4.2 operations

These really should have been there from the beginning, but we never
noticed because there was enough slack in the RPC request for the extra
bytes. Chuck's recent patch to use au_cslack and au_rslack to compute
buffer size shrunk the buffer enough that this was now a problem for
SEEK operations on my test client.

Fixes: f08d3e6ac8d2b ("nfs: Add ALLOCATE support")
Fixes: ee9832a6de7c5 ("NFS: Add COPY nfs operation")
Fixes: 29416c55448b4 ("NFS OFFLOAD_CANCEL xdr")
Fixes: cd825576610b8 ("nfs: Add DEALLOCATE support")
Fixes: 0bd48b61cce46 ("NFS: Implement SEEK")
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs42xdr.c