Now
MAIN commitmail json YAML
src/sys/miscfs/specfs/spec_vnops.c@1.185
/
diff
/
nxr@1.185
src/sys/sys/conf.h@1.158 / diff / nxr@1.158
src/sys/sys/conf.h@1.158 / diff / nxr@1.158
driver(9): Eliminate D_MCLOSE.
D_MCLOSE was introduced a few years ago by mistake for audio(4),
which should have used -- and now does use -- fd_clone to create
per-open state. The semantics was originally to call close once
every time the device node is closed, not only for the last close.
Nothing uses it any more, and it complicates reasoning about the
system, so let's simplify it away.
D_MCLOSE was introduced a few years ago by mistake for audio(4),
which should have used -- and now does use -- fd_clone to create
per-open state. The semantics was originally to call close once
every time the device node is closed, not only for the last close.
Nothing uses it any more, and it complicates reasoning about the
system, so let's simplify it away.