freebsd-skq/sys/gnu/fs/ext2fs
bde 928cd1b6a9 MFffs ffs_balloc.c 1.5.
Long ago, bread() set b_blkno to the disk block number as a side effect
of doing physical i/o (or it just retained the setting from when the
i/o was done).  The setting is lost when buffers go away and then are
reconsituted from VM.  bread() originally compensated by doing a
VOP_BMAP() to recover b_blkno, but this was no good since it sometimes
caused extra i/o or even deadlock for bread()ing metadata to do the
bmap.  This was fixed in vfs_bio.c 1.33 (1995/03/03) and ffs_balloc.c
1.5, etc., by removing the VOP_BMAP() from bread() and breadn(), and
changing all (?) places that used b_blkno to set it if necessary.

ext2fs was not imported until later in 1995 and was still depending on
the old behaviour of bread() in at least ext2_balloc().  This caused
filesystem and file corruption by clobbering direct block numbers in
inodes.
2001-04-25 10:33:09 +00:00
..
COPYRIGHT.INFO Updated/corrected the list of GPL'ed files. 2000-01-01 11:27:50 +00:00
ext2_alloc.c Preceed/preceeding are not english words. Use precede or preceding. 2001-02-18 10:25:42 +00:00
ext2_balloc.c MFffs ffs_balloc.c 1.5. 2001-04-25 10:33:09 +00:00
ext2_bmap.c Correct #includes to work with fixed sys/mount.h. 2001-04-23 09:05:15 +00:00
ext2_extern.h Support filesystems with the not-so-new "sparse_superblocks" feature. 2000-11-03 16:41:48 +00:00
ext2_fs_sb.h Fixed clean flag handling: 1998-09-26 06:18:59 +00:00
ext2_fs.h Support filesystems with the not-so-new "sparse_superblocks" feature. 2000-11-03 16:41:48 +00:00
ext2_inode_cnv.c Merged changes in ext2_fs.h between Linux 1.2.2 and Linux 2.3.35. The 2000-01-01 17:39:21 +00:00
ext2_inode.c Fix typo (accessable --> accessible). 2000-06-14 17:53:40 +00:00
ext2_linux_balloc.c Put the bits in place for Alpha support for ext2. Not tested. 2000-12-09 22:32:49 +00:00
ext2_linux_ialloc.c Put the bits in place for Alpha support for ext2. Not tested. 2000-12-09 22:32:49 +00:00
ext2_lookup.c Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
ext2_mount.h Move the netexport structure from the fs-specific mountstructure 2001-04-25 07:07:52 +00:00
ext2_readwrite.c Grab the process lock while calling psignal and before calling psignal. 2001-03-07 03:37:06 +00:00
ext2_subr.c Correct to a common %ld the 5 argument to a printf. 2000-12-09 22:32:01 +00:00
ext2_vfsops.c Move the netexport structure from the fs-specific mountstructure 2001-04-25 07:07:52 +00:00
ext2_vnops.c Fixed breakage of mknod() in rev.1.48 of ext2_vnops.c and rev.1.126 of 2000-11-04 08:10:56 +00:00
fs.h Quick fix for not writing group descriptor group, inode bitmaps or 2000-11-10 14:54:15 +00:00
i386-bitops.h Fix __asm__ clobber list abuse. 1999-11-15 23:16:06 +00:00
inode.h Fixes to track snapshot copy-on-write checking in the specinfo 2001-03-07 07:09:55 +00:00