From: Trond Myklebust Date: Mon, 20 Apr 2009 18:58:35 +0000 (-0400) Subject: NFS: Fix the XDR iovec calculation in nfs3_xdr_setaclargs X-Git-Tag: v2.6.30-rc3~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8340437210390676f687633a80e3748c40885dc8;p=pandora-kernel.git 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 Tested-by: Suresh Jayaraman Signed-off-by: Trond Myklebust Cc: stable@kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed