summaryrefslogtreecommitdiff
path: root/ctdb/config
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2015-07-13 14:49:02 +1000
committerAmitay Isaacs <amitay@samba.org>2015-07-14 09:57:18 +0200
commitf3a4c4f10b66300baa95b1d4367f93a3616ba408 (patch)
treebca6e25aee36fe28ca04f5f2c78f5fd840382e4e /ctdb/config
parent6586651508a17eea0da7bf32af4b41163924eca9 (diff)
downloadsamba-f3a4c4f10b66300baa95b1d4367f93a3616ba408.tar.gz
ctdb-scripts: Remove unused function startstop_ganesha()
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/config')
-rwxr-xr-xctdb/config/functions21
1 files changed, 0 insertions, 21 deletions
diff --git a/ctdb/config/functions b/ctdb/config/functions
index 6e3be82527a..0f4a169be0f 100755
--- a/ctdb/config/functions
+++ b/ctdb/config/functions
@@ -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 ()
{