NSM: Use sm_name instead of h_name in nsm_monitor() and nsm_unmonitor()
authorChuck Lever <[email protected]>
Thu, 4 Dec 2008 19:20:53 +0000 (14:20 -0500)
committerJ. Bruce Fields <[email protected]>
Tue, 6 Jan 2009 16:53:51 +0000 (11:53 -0500)
commit9fee49024ed19d849413df4ab6ec1a1a60aaae94
treefc3830479d06275ac28ced9751bdcd3662ee3a34
parent29ed1407ed81086b778ebf12145b048ac3f7e10e
NSM: Use sm_name instead of h_name in nsm_monitor() and nsm_unmonitor()

Clean up: Use the sm_name field for reporting the hostname in nsm_monitor()
and nsm_unmonitor(), just as the other functions in fs/lockd/mon.c do.

The h_name field is just a copy of the sm_name pointer.

Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
fs/lockd/mon.c