NLM: Move the public declaration of nsm_unmonitor() to lockd.h
authorChuck Lever <chuck.lever@oracle.com>
Thu, 4 Dec 2008 19:21:38 +0000 (14:21 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 6 Jan 2009 16:53:52 +0000 (11:53 -0500)
commit356c3eb466fd1a12afd6448d90fba3922836e5f1
tree1b30ed40ea9ee8c0e548f71d7e36bafd293ad764
parentc8c23c423dec49cb439697d3dc714e1500ff1610
NLM: Move the public declaration of nsm_unmonitor() to lockd.h

Clean up.

Make the nlm_host argument "const," and move the public declaration to
lockd.h.  Add a documenting comment.

Bruce observed that nsm_unmonitor()'s only caller doesn't care about
its return code, so make nsm_unmonitor() return void.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/lockd/mon.c
include/linux/lockd/lockd.h
include/linux/lockd/sm_inter.h