knfsd: fix broken length check in nfs4idmap.c
authorJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 26 Oct 2007 17:32:50 +0000 (13:32 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:01 +0000 (16:42 -0500)
commitd4395e03fec0895d01451904b8a2276ceda663c9
treeb4dd510ce3aa21a8f055d189e77b8047d162fa2d
parentaefa89d178e6dd83889b66d4e800d4d77363900b
knfsd: fix broken length check in nfs4idmap.c

Obviously at some point we thought "error" represented the length when
positive.  This appears to be a long-standing typo.

Thanks to Prasad Potluri <pvp@us.ibm.com> for finding the problem and
proposing an earlier version of this patch.

Cc: Steve French <smfltc@us.ibm.com>
Cc: Prasad V Potluri <pvp@us.ibm.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4idmap.c