summaryrefslogtreecommitdiffstats
path: root/sys/sys/mount.h
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2012-10-05 14:42:38 +0000
committeravg <avg@FreeBSD.org>2012-10-05 14:42:38 +0000
commit475042a78bada1856b31d1566ea7474bea17bde0 (patch)
tree56acb5670e47b50328580f681dcaec2306bb27af /sys/sys/mount.h
parent9aada32871f50c506bf460d8e5c36f8ce516a4f4 (diff)
downloadFreeBSD-src-475042a78bada1856b31d1566ea7474bea17bde0.zip
FreeBSD-src-475042a78bada1856b31d1566ea7474bea17bde0.tar.gz
mount.h: MNTK_VGONE_UPPER and MNTK_VGONE_WAITER were supposed to be different
... otherwise a waiter is never woken up. Reported by: swills Discussed with: jhb Approved by: kib MFC after: 3 days
Diffstat (limited to 'sys/sys/mount.h')
-rw-r--r--sys/sys/mount.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index 833ac0f..5474404 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -376,9 +376,9 @@ void __mnt_vnode_markerfree(struct vnode **mvp, struct mount *mp);
and writes. Filesystem shall properly
handle i/o state on EFAULT. */
#define MNTK_VGONE_UPPER 0x00000200
-#define MNTK_VGONE_WAITER 0x00000200
-#define MNTK_MARKER 0x00000400
+#define MNTK_VGONE_WAITER 0x00000400
#define MNTK_LOOKUP_EXCL_DOTDOT 0x00000800
+#define MNTK_MARKER 0x00001000
#define MNTK_NOASYNC 0x00800000 /* disable async */
#define MNTK_UNMOUNT 0x01000000 /* unmount in progress */
#define MNTK_MWAIT 0x02000000 /* waiting for unmount to finish */
OpenPOWER on IntegriCloud