lockd: clean up blocking lock cases of nlsmvc_lock()
authorMiklos Szeredi <mszeredi@suse.cz>
Mon, 9 Feb 2009 17:30:43 +0000 (12:30 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Mar 2009 21:30:50 +0000 (17:30 -0400)
commite33d1ea60c3a17b8b5c2910b1eef4c1faf0ac450
treebbf0b7e86ac3860df9c1906711ad379bcc5681ed
parente37da04ed145d45c2a698d7cb373a7e1191fbe86
lockd: clean up blocking lock cases of nlsmvc_lock()

No change in behavior, just rearranging the switch so that we break out
of the switch if and only if we're in the wait case.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/lockd/svclock.c