diff options
author | tjr <tjr@FreeBSD.org> | 2003-06-29 03:05:59 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2003-06-29 03:05:59 +0000 |
commit | 8b83d54b5e54fa52b8122a47131e51e275108dff (patch) | |
tree | dd1d22a892107f08a185dbf12c0366c002004910 /lib/libthr/thread/thr_printf.c | |
parent | ebb4fc782dbaeff91ed4302033b54580f50f3474 (diff) | |
download | FreeBSD-src-8b83d54b5e54fa52b8122a47131e51e275108dff.zip FreeBSD-src-8b83d54b5e54fa52b8122a47131e51e275108dff.tar.gz |
XXX Copy workaround from UFS: open device for write access even if
the user requests a read-only mount. This is necessary because we
don't do the VOP_OPEN again if they upgrade a read-only mount to
read-write.
Fixes lockup when creating files on msdosfs mounts that have been
mounted read-only then upgraded to read-write. The exact cause of
the lockup is not known, but it is likely to be the kernel getting
stuck in an infinite loop trying to write dirty buffers to a device
without write permission.
Reported/tested by andreas, discussed with phk.
Diffstat (limited to 'lib/libthr/thread/thr_printf.c')
0 files changed, 0 insertions, 0 deletions