$NetBSD$

Define Linux-like umount()

--- xlators/mgmt/glusterd/src/glusterd-op-sm.c.orig	2011-08-23 14:31:40.000000000 +0200
+++ xlators/mgmt/glusterd/src/glusterd-op-sm.c	2011-09-17 15:45:30.000000000 +0200
@@ -49,8 +49,12 @@
 #include "syscall.h"
 #include "cli1.h"
 #include "common-utils.h"
 
+#ifdef __NetBSD__
+#define umount(path) unmount(path,0)
+#endif /* __NetBSD__ */
+
 #include <sys/types.h>
 #include <signal.h>
 #include <sys/wait.h>
 #define glusterd_op_start_volume_args_get(dict, volname, flags) \
