The disk layer must not inherit the D_TRACKCLOSE flag from the underlying
commit4454ed34835a3c3c3a5e53d531dbecfc83d0cdf6
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 23 Jul 2007 18:59:51 +0000 (23 18:59 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 23 Jul 2007 18:59:51 +0000 (23 18:59 +0000)
tree45dc81bc0e66669100e8094a92cbb150a23ca5bb
parente1d131a095225c22d8c2f74c2dfc1fc4a26d54c4
The disk layer must not inherit the D_TRACKCLOSE flag from the underlying
device as this will confuse the disk layer's tracking of opens and closes.

This bug caused the disk layer to lose track of which slices and partitions
were open when a slice or partition was opened multiple times.
sys/kern/kern_device.c
sys/kern/subr_disk.c