lockd: clean up __nsm_find()
authorJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 20 Feb 2008 20:27:31 +0000 (15:27 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 23 Apr 2008 20:13:39 +0000 (16:13 -0400)
commita95e56e72c196970a8067cd515c658d064813170
treee785c49b5cc7fe877ff5bf78193d11b1cb482540
parent164f98adbbd50c67177b096a59f55c1a56a45c82
lockd: clean up __nsm_find()

Use list_for_each_entry().  Also, in keeping with kernel style, make the
normal case (kzalloc succeeds) unindented and handle the abnormal case
with a goto.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/lockd/host.c