Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2012 14:42:38 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241225 - head/sys/sys
Message-ID:  <201210051442.q95Egcaf087278@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Fri Oct  5 14:42:38 2012
New Revision: 241225
URL: http://svn.freebsd.org/changeset/base/241225

Log:
  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

Modified:
  head/sys/sys/mount.h

Modified: head/sys/sys/mount.h
==============================================================================
--- head/sys/sys/mount.h	Fri Oct  5 14:20:53 2012	(r241224)
+++ head/sys/sys/mount.h	Fri Oct  5 14:42:38 2012	(r241225)
@@ -376,9 +376,9 @@ void          __mnt_vnode_markerfree(str
 					   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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210051442.q95Egcaf087278>