Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev



Module Name:    src
Committed By:   dyoung
Date:           Tue Jul 28 17:55:27 UTC 2009

Modified Files:
        src/sys/dev: md.c

Log Message:
Make mdopen() and mdclose() maintain the openmask.  md_detach()
depends on the openmask to know whether it should either return
EBUSY because the device is open, or tear the device down.

Alan Barrett reports that this fixes kern/41725, in part: it prevents
the UVM fault, and the kernel detaches /dev/md0a after unmounting
/ on /dev/md0a instead of before.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index