]> git.ipfire.org Git - thirdparty/kernel/stable.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)
commit29e7ca715f2a0b6c0a99b1aec1b0956d1f271955
treeadcd49b88fe18a38fc112545f22b0c3a0559a4a5
parent7c2bd9a39845bfb6d72ddb55ce737650271f6f96
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: 02ef04e432ba ("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