diff options
author | Niels de Vos <ndevos@redhat.com> | 2017-03-20 17:24:37 -0400 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2017-03-27 07:57:04 -0400 |
commit | 16cfe427397d5b8f7a66dfe0b86d9fa5b06de4c1 (patch) | |
tree | fee71a58afb619411ddc9a807b092abc40bc7d49 /xlators/nfs/server | |
parent | b96da537f60d75f896973c9f61007baec42fcf17 (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 <ndevos@redhat.com>
Reviewed-on: https://review.gluster.org/16928
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'xlators/nfs/server')
-rw-r--r-- | xlators/nfs/server/src/nlm4.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/nfs/server/src/nlm4.c b/xlators/nfs/server/src/nlm4.c index 3da3b2d1c05..8db149cece5 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" -#else -#define KILLALL_CMD "killall" -#endif /* TODO: * 1) 2 opens racing .. creating an fd leak. |