summaryrefslogtreecommitdiffstats
path: root/sys/sys/msgbuf.h
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2003-03-28 01:50:11 +0000
committerjmallett <jmallett@FreeBSD.org>2003-03-28 01:50:11 +0000
commit2b3cee5134417f2ebe1bf390715f841f8fc7bb55 (patch)
tree49af08275ee3e083f09783cfa49eaa296b98ec82 /sys/sys/msgbuf.h
parent53b1373a1fbd6afb2dec787d06a2af4455017eee (diff)
downloadFreeBSD-src-2b3cee5134417f2ebe1bf390715f841f8fc7bb55.zip
FreeBSD-src-2b3cee5134417f2ebe1bf390715f841f8fc7bb55.tar.gz
Close the disk file descriptor that is RO before trying to open the
new one, and do not fall back to the RO fd. There was a bug here in that the RO fd was never closed, if the RDRW open succeeded, but this code is bogus anyway, and it breaks newfs of floppies, at least for me, due to "Device busy." Anything that wants to fall back is doing something significantly odd that it should have some more complex code on its end.
Diffstat (limited to 'sys/sys/msgbuf.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud