]> git.decadent.org.uk Git - nfs-utils.git/commit
mountd: Unregister mountd if my_svc_run() returns
authorChuck Lever <chuck.lever@oracle.com>
Mon, 27 Sep 2010 14:09:49 +0000 (10:09 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 27 Sep 2010 15:28:10 +0000 (11:28 -0400)
commit2c15cf2963367dee7106964c38ab7b1e30ba347d
treedd0bec36d0479b688b814fb9c7becb9bd75e02a8
parentb551b1fd0052de9b8c674b30c39d9f2a1e9d79cc
mountd: Unregister mountd if my_svc_run() returns

Fix a long standing bug: when my_svc_run() returns, mountd should
unregister itself with the local rpcbind so that it can subsequently
start cleanly.

Log a more helpful error message in this case.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mountd/mountd.c