Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   riastradh
Date:           Mon Mar 28 12:34:17 UTC 2022

Modified Files:
        src/sys/miscfs/specfs: spec_vnops.c
        src/sys/sys: conf.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.184 -r1.185 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -u -r1.157 -r1.158 src/sys/sys/conf.h

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