]> 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)
commit117c91be381405f6a691026bf0b0702b94751d84
treeadcd49b88fe18a38fc112545f22b0c3a0559a4a5
parent7c15a4be008cef073dd75925bf9793765b53472e
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: 886dabc61be1 ("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