locks: setlease cleanup
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 19 Aug 2011 14:59:49 +0000 (10:59 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 19 Aug 2011 17:25:35 +0000 (13:25 -0400)
There's an incorrect comment here.  Also clean up the logic: the
"rdlease" and "wrlease" locals are confusingly named, and don't really
add anything since we can make a decision as soon as we hit one of these
cases.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/locks.c

diff --cc fs/locks.c
Simple merge