Patchwork [BUG:1853] mgmt/glusterd: Always kill nfs with SIGKILL

login
register
Submitter Pranith K
Date 2010-10-07 15:45:18
Message ID <20101007154518.GA5143@dev.gluster.com>
Download mbox | patch
Permalink /patch/5344/
State Accepted
Headers show

Comments

Pranith K - 2010-10-07 15:45:18
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
---
 xlators/mgmt/glusterd/src/glusterd-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index 01c29dd..2e219a2 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -1790,7 +1790,7 @@  glusterd_nfs_server_stop ()
         GLUSTERD_GET_NFS_DIR(path, priv);
         GLUSTERD_GET_NFS_PIDFILE(pidfile);
 
-        return glusterd_service_stop ("nfsd", pidfile, SIGTERM, _gf_true);
+        return glusterd_service_stop ("nfsd", pidfile, SIGKILL, _gf_true);
 }
 
 int