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 */
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to