cvs commit: src/sys/kern vfs_syscalls.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Apr 22 17:55:58 PDT 2006


dillon      2006/04/22 17:54:11 PDT

DragonFly src repository

  Modified files:
    sys/kern             vfs_syscalls.c 
  Log:
  Get rid of LK_DRAIN in dounmount().  LK_DRAIN locks are not SMP friendly and
  can lead to structural pointer races against free() operations.  Struct mount
  is protected by the MNTK_UNMOUNT flag.
  
  Revision  Changes    Path
  1.81      +4 -3      src/sys/kern/vfs_syscalls.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.80&r2=1.81&f=u





More information about the Commits mailing list