]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix handling of reply page vector
authorChuck Lever <chuck.lever@oracle.com>
Tue, 9 Apr 2019 14:44:16 +0000 (10:44 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 11 Apr 2019 19:23:48 +0000 (15:23 -0400)
commit08c9b6a0523eb8d777407b7c2a286e202d8a3164
treeadcd49b88fe18a38fc112545f22b0c3a0559a4a5
parentaeaaae3d08bcd9c023db6b40102d6d7600b7c841
NFS: Fix handling of reply page vector

NFSv4 GETACL and FS_LOCATIONS requests stopped working in v5.1-rc.

These two need the extra padding to be added directly to the reply
length.

Reported-by: Olga Kornievskaia <aglo@umich.edu>
Fixes: 1e50a5a7dea6 ("NFS: Account for XDR pad of buf->pages")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Olga Kornievskaia <aglo@umich.edu>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4xdr.c