NSM: Check result of SM_UNMON upcall
authorChuck Lever <chuck.lever@oracle.com>
Thu, 4 Dec 2008 19:21:46 +0000 (14:21 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 6 Jan 2009 16:53:52 +0000 (11:53 -0500)
commit0c7aef4569f8680951b7dee01dddffb9d2f809ff
tree04a78e99cf53549dd8d32d6dbab5923f4f212f8d
parent356c3eb466fd1a12afd6448d90fba3922836e5f1
NSM: Check result of SM_UNMON upcall

Make sure any error returned by rpc.statd during an SM_UNMON call is
reported rather than ignored completely.  There isn't much to do with
such an error, but we should log it in any case.

Similar to a recent change to nsm_monitor().

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