freebsd-dev/sys/gnu/fs/ext2fs
bde 687ba8c231 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
..
COPYRIGHT.INFO Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108. 1998-04-17 22:37:19 +00:00
ext2_alloc.c Fixed printf format errors. 1998-07-30 17:12:39 +00:00
ext2_balloc.c Moved some #includes from <sys/param.h> nearer to where they are actually 1998-03-28 10:33:27 +00:00
ext2_bmap.c Quick fix for breakage of read clustering on non-IDE drives. Read 1998-08-18 03:54:39 +00:00
ext2_extern.h Removed unused function ll_w_block(). It has always had races due 1998-06-21 19:56:31 +00:00
ext2_fs_sb.h Fixed clean flag handling: 1998-09-26 06:18:59 +00:00
ext2_fs.h Removed __FreeBSD__ ifdefs. 1997-12-02 10:39:42 +00:00
ext2_inode_cnv.c Fixed printf format errors. 1998-07-11 07:46:16 +00:00
ext2_inode.c VOP_STRATEGY grows an (struct vnode *) argument 1998-07-04 20:45:42 +00:00
ext2_linux_balloc.c Support compiling with `gcc -ansi'. 1998-04-15 17:47:40 +00:00
ext2_linux_ialloc.c Fixed printf format errors. 1998-07-11 07:46:16 +00:00
ext2_lookup.c Fixed printf format errors. 1998-07-11 07:46:16 +00:00
ext2_mount.h Retire LFS. 1998-01-30 11:34:06 +00:00
ext2_readwrite.c Catch a few corner cases where FreeBSD differs enough from BSD 4.4 to 1998-07-08 01:04:33 +00:00
ext2_subr.c Added a missing options include. 1998-06-21 12:36:12 +00:00
ext2_vfsops.c Fixed clean flag handling: 1998-09-26 06:18:59 +00:00
ext2_vnops.c "The releaseing of the reference and lock is not temporary and belongs 1998-08-12 21:42:54 +00:00
fs.h Fix a problem with ext2fs so that filesystems mounted at reboot don't 1997-08-04 05:10:31 +00:00
i386-bitops.h Support compiling with `gcc -pedantic' (don't use hard newlines in 1998-09-09 12:22:17 +00:00
inode.h Sync timestamp changes for inodes of special files to disk as late 1998-07-03 22:17:03 +00:00