1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/fs
Tim J. Robbins ae620d4480 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.
2003-06-29 03:05:59 +00:00
..
cd9660 change dev_t to struct cdev * to match ufs. This fixes fstat for cd9660 2003-06-24 22:11:20 +00:00
coda Remove in toto coda_strategy which incorrectly implemented vop_panic(); 2003-06-15 18:45:15 +00:00
deadfs Finish cleanup of vprint() which was begun with changing v_tag to a string. 2003-03-03 19:15:40 +00:00
devfs Initialize struct vfsops C99-sparsely. 2003-06-12 20:48:38 +00:00
fdescfs Add a f_vnode field to struct file. 2003-06-22 08:41:43 +00:00
fifofs Partially back out rev 1.87 by nuking fifo_inactive() and moving the 2003-06-16 17:17:09 +00:00
hpfs Add the same KASSERT to all VOP_STRATEGY and VOP_SPECSTRATEGY implementations 2003-06-15 18:53:00 +00:00
msdosfs XXX Copy workaround from UFS: open device for write access even if 2003-06-29 03:05:59 +00:00
ntfs Merge from NetBSD src/sys/ntfs/ntfs_subr.c 1.5 & 1.30 (jdolecek): 2003-06-20 14:52:52 +00:00
nullfs MFp4: Fix two bugs causing possible deadlocks or panics, and one nit: 2003-06-17 08:52:45 +00:00
nwfs Lock the vm object when freeing a vm page. 2003-06-19 03:08:10 +00:00
portalfs Initialize struct vfsops C99-sparsely. 2003-06-12 20:48:38 +00:00
procfs Rename P_THREADED to P_SA. P_SA means a process is using scheduler 2003-06-15 00:31:24 +00:00
pseudofs fix grammar in comment 2003-06-20 23:29:04 +00:00
smbfs Lock the vm object when freeing a vm page. 2003-06-19 03:38:05 +00:00
specfs Lock the vm object when freeing a vm page. 2003-06-19 17:56:12 +00:00
udf Add the same KASSERT to all VOP_STRATEGY and VOP_SPECSTRATEGY implementations 2003-06-15 18:53:00 +00:00
umapfs Initialize struct vfsops C99-sparsely. 2003-06-12 20:48:38 +00:00
unionfs Add a f_vnode field to struct file. 2003-06-22 08:41:43 +00:00