From: Trond Myklebust Date: Wed, 11 Mar 2009 00:33:18 +0000 (-0400) Subject: NFSv3: Fix posix ACL code X-Git-Tag: v2.6.29~43^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae46141ff08f1965b17c531b571953c39ce8b9e2;p=pandora-kernel.git NFSv3: Fix posix ACL code Fix a memory leak due to allocation in the XDR layer. In cases where the RPC call needs to be retransmitted, we end up allocating new pages without clearing the old ones. Fix this by moving the allocation into nfs3_proc_setacls(). Also fix an issue discovered by Kevin Rudd, whereby the amount of memory reserved for the acls in the xdr_buf->head was miscalculated, and causing corruption. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed