Get rid of LK_DRAIN in dounmount(). LK_DRAIN locks are not SMP friendly and
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 23 Apr 2006 00:54:11 +0000 (00:54 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 23 Apr 2006 00:54:11 +0000 (00:54 +0000)
commit2df9419c1e6d7e51808626710aec875b695e4cc3
tree11c396bf2129e2a246c4dbc8f2700dc93ccdd04c
parentfc33e9a7d73802d3f27abd7c5779ee624a7d566d
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.
sys/kern/vfs_syscalls.c