NFSv4: remove obviously bogus comparison from decode_getacl
authorJ. Bruce Fields <bfields@fieldses.org>
Tue, 30 May 2006 20:28:58 +0000 (16:28 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Jun 2006 13:34:13 +0000 (09:34 -0400)
commitc04871e6345e4c6dfda564e302d7fd8c66420fd5
tree4b2a2b0fb5f282ffd5c95f64691476c647acd29f
parent3873bc50e2271504da45799257f69222774d9550
NFSv4: remove obviously bogus comparison from decode_getacl

We just set *acl_len to zero, and attrlen is unsigned, so this comparison
is clearly bogus.  I have no idea what I was thinking.

Fixes a bug that caused getacl to fail over krb5p.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c