DragonFlyBSD/src 465e060sys/kern vfs_vopops.c vfs_vfsops.c, sys/sys mount.h

kernel - Fix race in VFS_MPLOCK/VFS_MPUNLOCK (affects UFS)

* In the one case where vop_strategy() uses VFS_MPLOCK/VFS_MPUNLOCK,
  it is actually possible for the vnode to go away after the strategy
  call since no ref or lock is held across the call.

* Refactor the macros generally to cache the mount pointer , so
  VFS_MPUNLOCK() no longer takes an argument.

* Primarily affects UFS

Reported-by: tuxillo
DeltaFile
+108-55sys/kern/vfs_vopops.c
+13-13sys/kern/vfs_vfsops.c
+10-7sys/sys/mount.h
+131-753 files

UnifiedSplitRaw