]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4caf91d7752d34c1c421aa2213d13e41fbb2f4d2
tree1b30ed40ea9ee8c0e548f71d7e36bafd293ad764
parent8ec3ce0126619c8414e4d4bc02e776f777f88c0c
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