freebsd-dev/sys
Bruce Evans a094db128f Fixed clean flag handling:
Fixes for bugs not shared with ffs:
- don't mount unclean filesystems rw unless forced to.
- accept EXT2_ERROR_FS (treat it like !EXT2_VALID_FS).  We still don't set
  this or honour the maximal mount count.
- don't attempt to print the name of the mount point when mounting an
  unclean file system, since the name of the previous mount point is
  unknown and the name of the current mount point is still "".

Fixes for bugs shared with ffs until recently:
- don't set the clean flag on unmount of an initially-unclean filesystem
  that was (forcibly) mounted rw.
- set the clean flag on rw -> ro update of a mounted initially-clean
  filesystem.
- fixed some style bugs (mostly long lines).

The fixes are slightly simpler than for ffs, because the relevant on-disk
state is not a simple boolean variable, and the superblock has a core-only
extension.

Obtained from:	parts from ffs_vfsops.c, parts from NetBSD
1998-09-26 06:18:59 +00:00
..
alpha Fix type 0 configuration accesses, and use a virtual rather than physical 1998-09-23 21:23:51 +00:00
amd64 Goodbye BOUNCE_BUFFERS, for a hack it has served us well. 1998-09-25 17:34:49 +00:00
boot Recover the arguments passed in from the previous load stage, use them to set 1998-09-26 01:31:10 +00:00
cam Correct problems with xpt_set_transfer_settings and async transfer 1998-09-25 22:35:56 +00:00
coda Don't lose this file 1998-09-25 17:40:50 +00:00
compat MF22: revert time bogon. 1998-09-24 13:25:43 +00:00
compile
conf Goodbye BOUNCE_BUFFERS, for a hack it has served us well. 1998-09-25 17:34:49 +00:00
contrib/softupdates Eliminate a race in VOP_FSYNC() when softupdates is enabled. 1998-09-24 15:02:46 +00:00
ddb Update to work with the new elf headers. 1998-08-17 08:06:31 +00:00
dev Cosmetic changes: 1998-09-26 03:38:40 +00:00
fs Don't lose this file 1998-09-25 17:40:50 +00:00
geom Update system to new device statistics code. 1998-09-15 08:15:30 +00:00
gnu Fixed clean flag handling: 1998-09-26 06:18:59 +00:00
i386 Cosmetic changes: 1998-09-26 03:38:40 +00:00
isa Removed unused include of "ioconf.h" again. The CAM changes made ioconf.h 1998-09-24 10:43:42 +00:00
isofs/cd9660 Remove the SLICE code. 1998-09-14 19:56:42 +00:00
kern PR: kern/7418 1998-09-26 00:12:35 +00:00
libkern Converted rcsid to $Id$ again. There shouldn't be any rcsids in the kernel. 1998-08-17 19:26:37 +00:00
miscfs various nits that didn't make it through the brucefilter. 1998-09-12 20:21:54 +00:00
modules lkm for coda 1998-09-25 17:51:44 +00:00
msdosfs Remove unused variable. 1998-09-13 15:40:31 +00:00
net fix an mbuf leak when using ipfw to filger bridged packets 1998-09-18 20:55:50 +00:00
netatalk Fixed printf format errors. 1998-08-17 01:05:25 +00:00
netatm Two patches from the HARP people: 1998-09-17 09:35:02 +00:00
netinet Fix the bind security fix introduced in rev 1.38 to work with multicast: 1998-09-17 18:42:16 +00:00
netipx Yow! Completely change the way socket options are handled, eliminating 1998-08-23 03:07:17 +00:00
netkey Fixed printf format errors. 1998-08-17 01:05:25 +00:00
netnatm This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
netns Make INET a proper option. 1998-01-08 23:42:31 +00:00
nfs Removed statically configured mount type numbers (MOUNT_*) and all 1998-09-07 13:17:06 +00:00
nfsclient Removed statically configured mount type numbers (MOUNT_*) and all 1998-09-07 13:17:06 +00:00
nfsserver Made unloading of the nfs LKM sort of work. This is mainly to test 1998-09-07 05:42:15 +00:00
pc98 Sync with sys/i386/isa/clock.c revision 1.127. 1998-09-22 16:12:00 +00:00
pccard - Fix a bug where a "power_off_slot' timeout was not cancelled when the 1998-09-24 17:56:31 +00:00
pci Apply patch graciously provided by Jason Wright <jason@thought.net> from 1998-09-25 17:34:19 +00:00
posix4 Set PAGE_SIZE for _SC_PAGESIZE sysconf(). 1998-06-01 21:54:43 +00:00
powerpc Add new functions fill_fpregs() and set_fpregs(), like fill_regs() 1998-09-14 22:43:40 +00:00
rpc Resolve conflicts. 1997-05-28 04:45:15 +00:00
sys Goodbye BOUNCE_BUFFERS, for a hack it has served us well. 1998-09-25 17:34:49 +00:00
tools VOP_STRATEGY grows an (struct vnode *) argument 1998-07-04 20:45:42 +00:00
ufs Fixed clean flag handling: 1998-09-26 04:59:42 +00:00
vm Removed unused file. 1998-09-20 06:28:10 +00:00
Makefile Add support for MACHINE=pc98. This leaves a single legacy entry for 1998-09-05 08:27:56 +00:00