ctdb-scripts: Remove unused function startstop_ganesha()
authorMartin Schwenke <martin@meltin.net>
Mon, 13 Jul 2015 04:49:02 +0000 (14:49 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 14 Jul 2015 07:57:18 +0000 (09:57 +0200)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/functions

index 6e3be82527aa24cf8e4105c1314f09ba43149965..0f4a169be0fabd041d7efe2c9fd8d59431403265 100755 (executable)
@@ -699,27 +699,6 @@ nfs_update_lock_info ()
     fi
 }
 
-########################################################
-# start/stop the Ganesha nfs service
-########################################################
-startstop_ganesha()
-{
-    _service_name="nfs-ganesha-$CTDB_CLUSTER_FILESYSTEM_TYPE"
-    case "$1" in
-       start)
-           service "$_service_name" start
-           ;;
-       stop)
-           service "$_service_name" stop
-           ;;
-       restart)
-           service "$_service_name" stop
-           nfs_dump_some_threads "rpc.statd"
-           service "$_service_name" start
-           ;;
-    esac
-}
-
 # Dump up to the configured number of nfsd thread backtraces.
 nfs_dump_some_threads ()
 {