diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-04-21 21:20:08 +0000 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2009-04-27 10:37:05 -0700 |
commit | 52f8cf35ef8716fbcb00ffe3a680d2a4c54e412d (patch) | |
tree | b658512a1d70b63b6eff2a90fde30021b2eac879 /fs/jbd/commit.c | |
parent | d6af2381754182d727fb4682e785f56ae8508210 (diff) |
NFS: Fix the XDR iovec calculation in nfs3_xdr_setaclargs
upstream commit: 8340437210390676f687633a80e3748c40885dc8
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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions