]> err.no Git - linux-2.6/commit
nfsd4: clean up access_valid, deny_valid checks.
authorJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 14 Jan 2008 18:12:19 +0000 (13:12 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:07 +0000 (16:42 -0500)
commit8838dc43d6544570e8969a74ddc4a0d21abffde6
treef3082dd80293fe5279d8ff993d2e0c17a0a2f2b4
parentb39c18fce003bb2d5a51a4734d8fdd2c81fa1a78
nfsd4: clean up access_valid, deny_valid checks.

Document these checks a little better and inline, as suggested by Neil
Brown (note both functions have two callers).  Remove an obviously bogus
check while we're there (checking whether unsigned value is negative).

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Neil Brown <neilb@suse.de>
fs/nfsd/nfs4state.c