Commit Graph

740 Commits (b705640ae162093d40fc9f77e716bec891561ffe)

Author SHA1 Message Date
Theodore Ts'o b705640ae1 ChangeLog, chattr.c, lsattr.c:
chattr.c, lsattr.c: Don't use _FILE_BITS_OFFSET method of using the
  	64-bit function, since this changes the expected size of struct
  	dirent.  Instead use lseek64 explicitly.
2001-06-08 02:53:20 +00:00
Theodore Ts'o b7846402ca ChangeLog, debugfs.c:
debugfs.c (copy_file): Fixed signed vs unsigned bug which causes read
  	errors to not be noticed.
2001-06-03 23:27:56 +00:00
Theodore Ts'o 5a9c036bf3 ChangeLog, expect.1, image.gz:
f_badinode: Added a fast symlink with an invalid size to test e2fsck's
  	handling of this case.
RELEASE-NOTES:
  Upate last couple of changes for the WIP release.
2001-06-02 04:55:57 +00:00
Theodore Ts'o a479fe6049 ChangeLog, recovery.c:
recovery.c (scan_revoke_records): Fix bug in recovery code; missing
  	byte order conversion.
2001-06-02 04:50:14 +00:00
Theodore Ts'o 62b6d47987 ChangeLog:
Add other change to pass1.c
2001-06-02 04:37:02 +00:00
Theodore Ts'o fdbdea09b8 ChangeLog, pass1.c, pass2.c, problem.c, problem.h:
pass1.c (mark_inode_bad): Replace alloc_bad_map with a function which
  	sets the bit in the bad inode bitmap.
  	(e2fsck_pass1): Check for fast symlinks with an invalid size, and set
  	the bad inode map in that case.
  pass2.c (e2fsck_process_bad_inode): Check for fast symlinks with an
  	invalid size and prompt the user if the inode should be cleared.
  problem.h, problem.c (PR_2_SYMLINK_SIZE): Added new problem code.
2001-06-02 04:26:26 +00:00
Theodore Ts'o f36d14f5f0 ChangeLog, valid_blk.c:
valid_blk.c (ext2fs_inode_has_valid_blocks): Only check i_blocks for a
  	symlink to determine whether it is a fast symlink.
2001-06-02 04:13:16 +00:00
Theodore Ts'o 767de097c4 Many files:
Interim checkin for 1.21-WIP release.
2001-06-02 01:20:18 +00:00
Theodore Ts'o 36a23e1806 ChangeLog:
Fix typo in ChangeLog.
2001-06-02 00:54:10 +00:00
Theodore Ts'o 2f686ace1c ChangeLog, journal.c, problem.c, problem.h:
problem.c, problem.h: Change PR_0_JOURNAL_UNSUPP_INCOMPAT and
  	PR_0_JOURNAL_UNSUPP_ROCOMPAT so they aren't fatal errors, but prompt
  	to see if the user should abort.  Removed the
  	PR_0_JOURNAL_RESET_COMPAT problem code.
  journal.c (e2fsck_journal_load): If there are incompatible journal
  	flags, just return an error code.
  	(e2fsck_check_ext3_journal): If e2fsck_journal_load returns an error
  	code indicating that there are incompatible journal flag, check to see
  	if we should abort, and then offer to clear the journal.
2001-06-02 00:38:40 +00:00
Theodore Ts'o 797f5ef14e ChangeLog, wordwrap.pl:
Makefile.in: Move include/asm/types.h.in to lib/ext2fs/ext2_fs.h.in.
  wordwrap.pl: Add some rules which help fix up the dependencies.
Many files:
  Move include/asm/types.h.in to lib/ext2fs/ext2_fs.h.in.
2001-06-01 23:49:46 +00:00
Theodore Ts'o a444dca9a7 ChangeLog, expect.1, expect.2, image.gz, name:
f_dup3: New test case which checks handling of blocks claimed multiple
  	times by one inode which weren't handled correctly by e2fsck 1.20.
2001-06-01 19:46:43 +00:00
Theodore Ts'o 71d521c609 ChangeLog, pass1.c, pass1b.c:
pass1.c (pass1_get_blocks, pass1_read_inode, pass1_write_inode,
  	pass1_check_directory): Add a safety check to make sure
  	ctx->stashed_inode is non-zero.
  pass1b.c (pass1b): Use e2fsck_use_inode_shortcuts() to disable the
  	inode shortcut processing, instead of manually clearing only half of
  	the function pointers that needed to be NULL'ed out.  This caused
  	nasty bugs if the last inode in the filesystem needed dup block
  	processing.
  pass1b.c (clone_file_block): When cloning a directory's metadata
  	block, don't try to update the directory block list database, since
  	indirect blocks aren't stored in the database and the resulting error
  	will abort the file clone operation.
2001-06-01 19:29:36 +00:00
Theodore Ts'o 5e4f070952 ChangeLog, debugfs.c, debugfs.h, logdump.c:
debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
2001-06-01 15:36:05 +00:00
Theodore Ts'o 4bb0c0434c ChangeLog, logdump.c:
logdump.c (read_journal_block): Replace pread with lseek/read combination.
2001-06-01 15:22:38 +00:00
Theodore Ts'o e6d33eccba ChangeLog, expect, script:
d_loaddump: Fix test script to remove bash'isms, and make the shell
  	script more robust in cases where the user has overridden CFLAGS so
  	that the debugfs binary isn't compiled with -g, and is smaller than
  	128k.  Also specify the blocksize to be used explictly to avoid
  	problems with people who change the mke2fs default parameters.
2001-06-01 15:14:38 +00:00
Theodore Ts'o 0923fc6d35 ChangeLog, unpack.c, unparse.c, uuid_time.c:
unpack.c, unparse.c, uuid_time.c: Update files to be under the LGPL
  	(that somehow were missed when libuuid was converted to use the LGPL).
  	Whoops.
2001-06-01 15:03:25 +00:00
Theodore Ts'o 75729d4d82 ADD TAG: E2FSPROGS-1_20 2001-05-25 17:35:00 +00:00
Theodore Ts'o bb185861d1 e2fsprogs.lsm, version.h:
Update version string for 1.20 release
ChangeLog:
  Update Changelogs for 1.20 release.
2001-05-25 17:35:00 +00:00
Theodore Ts'o 62df768a67 ChangeLog:
Makefile.in: Only exclude the top-level TODO file, not over the entire
  	tree.
2001-05-25 17:32:49 +00:00
Theodore Ts'o 90f33eba68 Makefile.in:
Makefile.in: Only exclude the top-level TODO file, not over the entire
  	tree.
2001-05-25 17:18:43 +00:00
Theodore Ts'o 559f28c5ac configure, configure.in:
Remove lib/finddev from the list of directories that we try to configure
2001-05-25 17:16:41 +00:00
Theodore Ts'o d5f858dd7f ChangeLog, ismounted.c:
ismounted.c: More cleanups for ismounted.c, some from Andreas, some to
  	clean up Andreas's patches.  Use strncpy instead of strcpy to save the
  	root's mountpoint.  Clean up #ifdef structure.  Remove uneeded
  	variable in testing/debug driver.
2001-05-25 17:14:23 +00:00
Theodore Ts'o 561cd4dd60 ChangeLog, journal.c:
journal.c (e2fsck_journal_reset_super): Remove extraneous line
2001-05-25 16:40:56 +00:00
Theodore Ts'o e549d0a6a8 ChangeLog, tune2fs.c:
tune2fs.c (update_feature_set): Fix capitalization typo.
2001-05-25 16:38:48 +00:00
Theodore Ts'o 21cc665908 ChangeLog:
Fix spelling typo.
2001-05-25 16:35:33 +00:00
Theodore Ts'o cc86017b59 ChangeLog, ismounted.c:
ismounted.c: Add check for root device which doesn't depend on
  	/etc/fstab or /proc/mounts to be correct.  Don't call endmntent()
  	before we are done with mnt struct.
2001-05-25 16:32:53 +00:00
Theodore Ts'o a9bc79add1 ChangeLog, partinfo.c:
partinfo.c (main): Use unsigned long instead of long when querying the
  	size of a device using the BLKGETSIZE ioctl, to remove the 1TB limit
  	(and turn it into a 2TB limit :-)
2001-05-23 22:29:22 +00:00
Theodore Ts'o c7a24e461e ChangeLog, fsck.c:
fsck.c (compile_fs_type): Fix I18N compilation bug: use N_() instead
  	of _() to initialize static variables.
2001-05-23 22:26:39 +00:00
Theodore Ts'o c7f23364fd ChangeLog, journal.c, problem.c, problem.h:
journal.c (e2fsck_journal_reset_super): Fix bug; the reset journal
  	wasn't getting written out to disk since the dirty bit wasn't being
  	set on the buffer.
  	(e2fsck_journal_load): Don't print an error message if the journal
  	version number is wrong; just return a error code reflecting this
  	fact.  If the block type in the journal superblcok is obviously not a
  	version number, report the journal is corrupted.
  	(e2fsck_check_ext3_journal): On an unsupported journal version, prompt
  	to abort by default, but then offer a chance to clear the journal as
  	corrupt.
  problem.c, problem.h (PR_0_JOURNAL_UNSUPP_VERSION): Added new problem code.
2001-05-23 22:19:47 +00:00
Theodore Ts'o 4ed8ebe268 ChangeLog, ext2_err.et.in:
ext2_err.et.in (EXT2_ET_JOURNAL_UNSUPP_VERSION): Added new error code.
2001-05-23 18:30:10 +00:00
Theodore Ts'o 5a009bb925 control:
Fix spelling typo.
.del-TODO~705e0f0d:
  Fix items which are already done.
RELEASE-NOTES, version.h:
  Update for 1.20 RC #3
2001-05-21 05:27:45 +00:00
Theodore Ts'o b10820cdcd ChangeLog, ext2_fs.h:
ext2_fs.h: Change assignment of EXT2_FEATURE_COMPAT_DIR_INDEX to make
  	room for pre-existing usage of EXT2_FEATURE_COMPAT_EXT_ATTR.  Add flag
  	EXT2_INDEX_FL with the same codepoint as EXT2_BTREE_FL.
2001-05-21 05:23:31 +00:00
Theodore Ts'o 7c2d25699f ChangeLog, ext2fs.h:
ext2fs.h: #include <> instead of "" for ext2fs and et header files,
  	since they will be installed in /usr/include
ChangeLog, e2p.h:
  e2p.h: #include <> instead of "" for ext2fs and et header files, since
  	they will be installed in /usr/include
2001-05-21 02:54:21 +00:00
Theodore Ts'o 1893e71331 changelog, control, rules, e2fsck-static.files, e2fsprogs.copyright:
Update to sync up with Debian's e2fsprogs_1.19+1.20-WIP-0514-2 release.
2001-05-21 02:48:41 +00:00
Theodore Ts'o eac6c0d01b libext2fs.texinfo, ChangeLog:
libext2fs.texinfo: Added @dircategory line so that Debian programs
  	know which section to list the .info file.
2001-05-21 02:45:22 +00:00
Theodore Ts'o 10a32f1e03 ChangeLog, fsck.8.in, fsck.c:
fsck.8.in, fsck.c (compile_fs_type, fs_type, ignore): Fix handling of
  	-t option to be more intuitive.  Also add support for the Mandrake -t
  	loop hack.  See man page for description of new -t semantics.
2001-05-21 02:15:15 +00:00
Theodore Ts'o 9164b862ff ChangeLog, fsck.c:
fsck.c (device_already_active): Fix bug in device_already_active which
  	could cause infinite loops if we don't know the base_device of the
  	filesystem.
2001-05-21 01:41:37 +00:00
Theodore Ts'o 07025aea9b ChangeLog, fsck.c:
fsck.c: Make sure all exit status codes returned by fsck are
  	consistent with the error codes documented in the fsck man page.
2001-05-21 01:39:02 +00:00
Theodore Ts'o 20562a48a5 Many files:
Makefile.bsd-lib, Makefile.dll-lib, Makefile.elf-lib,
  	Makefile.solaris-lib: Use $(LDCONFIG) instead of -ldconfig.
2001-05-19 22:07:36 +00:00
Theodore Ts'o 250f79f084 ChangeLog, MCONFIG.in, configure, configure.in:
configure.in, MCONFIG.in (LDCONFIG): Use AC_PATH_PROG to find the
  	pathname for ldconfig.
2001-05-19 22:02:22 +00:00
Theodore Ts'o 776485657d RELEASE-NOTES:
Update a typo and updated date for next WIP release.
e2fsprogs.lsm:
  Updated approximate values for 1.20 release
version.h:
  Update for new WIP release.
2001-05-14 13:04:44 +00:00
Theodore Ts'o 21afac096d ChangeLog, pass1.c, problem.c, problem.h, problemP.h:
pass1.c: Treat inodes with a low dtime (that were from a corrupted
  	orphan list) specially.
  problem.c, problem.h: Add new problem codes PR_1_LOW_DTIME and
  	PR_1_ORPHAN_LIST_REFUGEES, and a new latch group, PR_LATCH_LOW_DTIME.
  problemP.h: Expand the size of the problem flag to be an int instead
  	of a short.  Expand space in the flag word which is reserved for
  	problem latch flags from 3 bits to 8 bits.
ChangeLog, expect.1, expect.2, image.gz, name:
  f_badorphan: New test which verifies corrupted orphan list handling.
2001-05-14 12:47:41 +00:00
Theodore Ts'o 54c637d4d2 Many files:
badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c, lsattr.c,
  	mke2fs.c, mklost+found.c, tune2fs.c, util.c: Change location of
  	ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, resize2fs.h:
  resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, debugfs.h:
  debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, e2fsck.h, scantest.c:
  e2fsck.h, scantest.c: Change location of ext2_fs.h to be
  	ext2fs/ext2_fs.h
ChangeLog, Makefile.in, tst_uuid.c, uuid_time.c:
  tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h
ChangeLog, Makefile.in, e2p.h:
  e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, test_icount.c, test_rel.c:
  test_icount.c, test_rel.c: Change location of ext2_fs.h to be
  	ext2fs/ext2_fs.h
2001-05-14 11:45:38 +00:00
Theodore Ts'o 9f8046fc6d Many files:
alloc.c, alloc_tables.c, badblocks.c, bb_compat.c, bb_inode.c,
  	bitmaps.c, bitops.c, block.c, bmap.c, bmove.c, brel_ma.c,
  	check_desc.c, closefs.c, cmp_bitmaps.c, dblist.c, dblist_dir.c,
  	dir_iterate.c, dirblock.c, dupfs.c, expanddir.c, ext2_fs.h, fileio.c,
  	finddev.c, flushb.c, freefs.c, get_pathname.c, getsize.c, icount.c,
  	imager.c, initialize.c, inline.c, inode.c, irel_ma.c, ismounted.c,
  	link.c, lookup.c, mkdir.c, mkjournal.c, namei.c, native.c, newdir.c,
  	nt_io.c, openfs.c, read_bb.c, read_bb_file.c, rs_bitmap.c,
  	rw_bitmaps.c, swapfs.c, test_io.c, tst_badblocks.c, tst_byteswap.c,
  	tst_getsize.c, tst_iscan.c, unix_io.c, unlink.c, valid_blk.c,
  	version.c, write_bb_file.c, ext2_fs.h: Moved file from include/linux.
  	Adjust all files in this directroy to include this file.
2001-05-14 11:35:52 +00:00
Theodore Ts'o 092c3dec39 debugfs.c:
Fix missing tab
2001-05-14 11:20:48 +00:00
Theodore Ts'o 8ec2ec5c9b .del-ext2_fs.h~7a460879, ChangeLog:
ext2_fs.h: Define EXGT2_RESIZE_INO and EXT2_FEATURE_COMPAT_DIR_INDEX
  ext2_fs.h: Moved file to lib/ext2fs
2001-05-14 05:01:47 +00:00
Theodore Ts'o 251395db0c ChangeLog, tune2fs.8.in:
tune2fs.8.in: Fix typo's and make other clarifications suggested by
  	Andreas Dilger.
2001-05-14 04:43:05 +00:00
Theodore Ts'o 7a34cb01a9 ChangeLog, mkjournal.c:
mkjournal.c (ext2fs_create_journal_superblock): Remove redundant code.
2001-05-14 04:28:35 +00:00
Theodore Ts'o 1400bbb60b ChangeLog, mke2fs.c:
mke2fs.c: don't zap the superblock if we are running with noaction!
  	Zap the end of the device to remove stale RAID superblocks.
2001-05-14 04:19:25 +00:00