Module Name: src
Committed By: hannken
Date: Sat Jan 12 10:44:05 UTC 2019
Modified Files:
src/external/cddl/osnet/lib/libzfs: zmount.c
Log Message:
Pass unmount flags down to syscall, "zfs unmount -f" now works.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/cddl/osnet/lib/libzfs/zmount.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/cddl/osnet/lib/libzfs/zmount.c
diff -u src/external/cddl/osnet/lib/libzfs/zmount.c:1.1 src/external/cddl/osnet/lib/libzfs/zmount.c:1.2
--- src/external/cddl/osnet/lib/libzfs/zmount.c:1.1 Fri Aug 7 20:57:56 2009
+++ src/external/cddl/osnet/lib/libzfs/zmount.c Sat Jan 12 10:44:05 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: zmount.c,v 1.1 2009/08/07 20:57:56 haad Exp $ */
+/* $NetBSD: zmount.c,v 1.2 2019/01/12 10:44:05 hannken Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -69,5 +69,5 @@ int
umount2(const char *spec, int mflag)
{
- return unmount(spec, 0);
+ return unmount(spec, mflag);
}