diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-03-11 01:33:18 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-03-11 01:33:18 +0100 |
commit | ae46141ff08f1965b17c531b571953c39ce8b9e2 (patch) | |
tree | 12e9b19461fb00c7ba21d93272ddd470ca0e82b0 /fs/efs | |
parent | NFS: Fix misparsing of nfsv4 fs_locations attribute (take 2) (diff) | |
download | linux-ae46141ff08f1965b17c531b571953c39ce8b9e2.tar.xz linux-ae46141ff08f1965b17c531b571953c39ce8b9e2.zip |
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 <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/efs')
0 files changed, 0 insertions, 0 deletions