cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c
Tim J. Robbins
tjr at FreeBSD.org
Sat Jun 28 20:06:01 PDT 2003
tjr 2003/06/28 20:05:59 PDT
FreeBSD src repository
Modified files:
sys/fs/msdosfs msdosfs_vfsops.c
Log:
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.
Revision Changes Path
1.103 +19 -0 src/sys/fs/msdosfs/msdosfs_vfsops.c
More information about the cvs-src
mailing list