[PATCH] fix nfsacl pointer arithmetic and pg_class initialization bugs
authorAndreas Gruenbacher <agruen@suse.de>
Wed, 22 Jun 2005 17:16:28 +0000 (17:16 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 20:07:27 +0000 (16:07 -0400)
commit213484254c65e3c39c59df454132748b1367f816
treebba8225be09a04f23a34ee0e93b9fa1090f3bf8f
parent458818ed76d3f495f9f32373c936456c9427f759
[PATCH] fix nfsacl pointer arithmetic and pg_class initialization bugs

* Pointer arithmetic bug: p is in word units. This fixes a memory
  corruption with big acls.
* Initialize pg_class to prevent a NULL pointer access.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs3xdr.c
fs/nfsd/nfssvc.c