diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-04-20 14:58:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-21 07:46:49 -0700 |
commit | 8340437210390676f687633a80e3748c40885dc8 (patch) | |
tree | 844b16bd6c152c8632b6a5f032c36d09bd1baf18 /include | |
parent | 608faf1ff2341dd89307eea649c8efaa6d08b911 (diff) | |
download | op-kernel-dev-8340437210390676f687633a80e3748c40885dc8.zip op-kernel-dev-8340437210390676f687633a80e3748c40885dc8.tar.gz |
NFS: Fix the XDR iovec calculation in nfs3_xdr_setaclargs
Commit ae46141ff08f1965b17c531b571953c39ce8b9e2 (NFSv3: Fix posix ACL code)
introduces a bug in the calculation of the XDR header iovec. In the case
where we are inlining the acls, we need to adjust the length of the iovec
req->rq_svec, in addition to adjusting the total buffer length.
Tested-by: Leonardo Chiquitto <leonardo.lists@gmail.com>
Tested-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions