path: root/xlators
diff options
authorNiels de Vos <>2017-03-20 17:24:37 -0400
committerNiels de Vos <>2017-03-27 07:57:04 -0400
commit16cfe427397d5b8f7a66dfe0b86d9fa5b06de4c1 (patch)
treefee71a58afb619411ddc9a807b092abc40bc7d49 /xlators
parentb96da537f60d75f896973c9f61007baec42fcf17 (diff)
nfs: use pkill on all OS's
'killall' is the only executable that is needed from the psmisc package on glusterfs-server installations. NetBSD already uses 'pkill' as alternative, this can be used everywhere. BUG: 1197308 Change-Id: Ied671a74b735e321f52d99c869627b957aa2bd02 Signed-off-by: Niels de Vos <> Reviewed-on: Smoke: Gluster Build System <> NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Reviewed-by: Kaleb KEITHLEY <>
Diffstat (limited to 'xlators')
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/nfs/server/src/nlm4.c b/xlators/nfs/server/src/nlm4.c
index 3da3b2d..8db149c 100644
--- a/xlators/nfs/server/src/nlm4.c
+++ b/xlators/nfs/server/src/nlm4.c
@@ -37,11 +37,7 @@
#include <rpc/xdr.h>
#include <statedump.h>
-#ifdef __NetBSD__
#define KILLALL_CMD "pkill"
-#define KILLALL_CMD "killall"
/* TODO:
* 1) 2 opens racing .. creating an fd leak.