summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-06-11ChangeLog, Makefile.in, swapfs.c, unix.c:Theodore Ts'o17-17/+108
Makefile.in: Add message.c and swapfs.c to the list of source files to build the make depend. swapfs.c, unix.c: Only support the -s and -S options to e2fsck if ENABLE_SWAPFS is defined. Many files: ext2fs.h, bitops.h, block.c, bmap.c, closefs.c, dirblock.c, inode.c, native.c, openfs.c, rw_bitmaps.c, swapfs.c: Only include the byte-swapping logic if ENABLE_SWAPFS is turned on or if we're on a big-endian machine. initialize.c (ext2fs_initialize):Use WORDS_BIGENDIAN directly to set EXT2_FLAG_SWAP_BYTES, instead of using ext2fs_native_flag. native.c (ext2fs_native_flag): Use WORDS_BIGENDIAN provided by autoconf to determine whether or not return EXT2_FLAG_SWAP_BYTES.
2001-06-11ChangeLog, configure, configure.in:Theodore Ts'o3-194/+336
configure.in: Add new switch, --disable-swapfs which disables support of byte-swapping old filesystems. Add new test, AC_C_BIGENDIAN, which sets WORDS_BIGENDIAN on big-endian machines. Change handling of --with-ccopts so that if set, the default CFLAGS is suppressed.
2001-06-11.del-configure~7a460879:Theodore Ts'o1-613/+0
Remove junk file.
2001-06-11ChangeLog, Makefile.in, mkjournal.c:Theodore Ts'o3-7/+25
Makefile.in: Remove the dependence on the libe2p library. mkjournal.c (ext2fs_add_journal_inode): Replace use of fsetflags with direct usage of the ioctl/fchflags so that we don't have to depend on the libe2p library.
2001-06-08RELEASE-NOTES, version.h:Theodore Ts'o2-1/+19
Updated for 8-Jun-2001 WIP release.
2001-06-08ChangeLog, jfs.h:Theodore Ts'o5-9/+19
jfs.h: Synchronize with ext3 0.7a ChangeLog, recovery.c, revoke.c: recover.c, revoke.c: Synchronize with ext3 0.7a
2001-06-08ChangeLog, icount.c:Theodore Ts'o3-5/+15
icount.c (insert_icount_el): Fix the code used to estimate the size of the new icount array to be more intelligent, to avoid reallocating the array too many times. ChangeLog, ext2_types.h.in: ext2_types.h.in: Use unsigned ints in favor of unsigned longs when trying to find a 32-bit wide type.
2001-06-08ChangeLog, chattr.c, lsattr.c:Theodore Ts'o3-8/+28
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-03ChangeLog, debugfs.c:Theodore Ts'o2-1/+7
debugfs.c (copy_file): Fixed signed vs unsigned bug which causes read errors to not be noticed.
2001-06-02ChangeLog, expect.1, image.gz:Theodore Ts'o4-3/+18
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-02ChangeLog, recovery.c:Theodore Ts'o2-1/+4
recovery.c (scan_revoke_records): Fix bug in recovery code; missing byte order conversion.
2001-06-02ChangeLog:Theodore Ts'o1-0/+2
Add other change to pass1.c
2001-06-02ChangeLog, pass1.c, pass2.c, problem.c, problem.h:Theodore Ts'o5-36/+59
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-02ChangeLog, valid_blk.c:Theodore Ts'o2-2/+6
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-02Many files:Theodore Ts'o6-13/+44
Interim checkin for 1.21-WIP release.
2001-06-02ChangeLog:Theodore Ts'o10-10/+10
Fix typo in ChangeLog.
2001-06-02ChangeLog, journal.c, problem.c, problem.h:Theodore Ts'o4-23/+25
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-01ChangeLog, wordwrap.pl:Theodore Ts'o26-236/+362
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-01ChangeLog, expect.1, expect.2, image.gz, name:Theodore Ts'o5-0/+56
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-01ChangeLog, pass1.c, pass1b.c:Theodore Ts'o3-9/+24
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-01ChangeLog, debugfs.c, debugfs.h, logdump.c:Theodore Ts'o4-15/+22
debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
2001-06-01ChangeLog, logdump.c:Theodore Ts'o2-1/+11
logdump.c (read_journal_block): Replace pread with lseek/read combination.
2001-06-01ChangeLog, expect, script:Theodore Ts'o3-5/+14
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-01ChangeLog, unpack.c, unparse.c, uuid_time.c:Theodore Ts'o4-6/+12
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-05-25ADD TAG: E2FSPROGS-1_20Theodore Ts'o1-0/+1
2001-05-25e2fsprogs.lsm, version.h:Theodore Ts'o23-6/+87
Update version string for 1.20 release ChangeLog: Update Changelogs for 1.20 release.
2001-05-25ChangeLog:Theodore Ts'o1-0/+5
Makefile.in: Only exclude the top-level TODO file, not over the entire tree.
2001-05-25Makefile.in:Theodore Ts'o1-1/+2
Makefile.in: Only exclude the top-level TODO file, not over the entire tree.
2001-05-25configure, configure.in:Theodore Ts'o2-3/+0
Remove lib/finddev from the list of directories that we try to configure
2001-05-25ChangeLog, ismounted.c:Theodore Ts'o2-15/+12
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-25ChangeLog, journal.c:Theodore Ts'o2-1/+4
journal.c (e2fsck_journal_reset_super): Remove extraneous line
2001-05-25ChangeLog, tune2fs.c:Theodore Ts'o2-1/+5
tune2fs.c (update_feature_set): Fix capitalization typo.
2001-05-25ChangeLog:Theodore Ts'o1-1/+1
Fix spelling typo.
2001-05-25ChangeLog, ismounted.c:Theodore Ts'o2-10/+37
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-23ChangeLog, partinfo.c:Theodore Ts'o2-2/+6
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-23ChangeLog, fsck.c:Theodore Ts'o2-3/+8
fsck.c (compile_fs_type): Fix I18N compilation bug: use N_() instead of _() to initialize static variables.
2001-05-23ChangeLog, journal.c, problem.c, problem.h:Theodore Ts'o4-5/+39
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-23ChangeLog, ext2_err.et.in:Theodore Ts'o2-0/+8
ext2_err.et.in (EXT2_ET_JOURNAL_UNSUPP_VERSION): Added new error code.
2001-05-21control:Theodore Ts'o4-6/+9
Fix spelling typo. .del-TODO~705e0f0d: Fix items which are already done. RELEASE-NOTES, version.h: Update for 1.20 RC #3
2001-05-21ChangeLog, ext2_fs.h:Theodore Ts'o2-1/+10
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-21ChangeLog, ext2fs.h:Theodore Ts'o4-5/+15
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-21changelog, control, rules, e2fsck-static.files, e2fsprogs.copyright:Theodore Ts'o5-34/+84
Update to sync up with Debian's e2fsprogs_1.19+1.20-WIP-0514-2 release.
2001-05-21libext2fs.texinfo, ChangeLog:Theodore Ts'o2-0/+6
libext2fs.texinfo: Added @dircategory line so that Debian programs know which section to list the .info file.
2001-05-21ChangeLog, fsck.8.in, fsck.c:Theodore Ts'o3-36/+197
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-21ChangeLog, fsck.c:Theodore Ts'o2-2/+10
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-21ChangeLog, fsck.c:Theodore Ts'o2-5/+11
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-19Many files:Theodore Ts'o5-7/+12
Makefile.bsd-lib, Makefile.dll-lib, Makefile.elf-lib, Makefile.solaris-lib: Use $(LDCONFIG) instead of -ldconfig.
2001-05-19ChangeLog, MCONFIG.in, configure, configure.in:Theodore Ts'o4-132/+177
configure.in, MCONFIG.in (LDCONFIG): Use AC_PATH_PROG to find the pathname for ldconfig.
2001-05-14RELEASE-NOTES:Theodore Ts'o3-12/+12
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-14ChangeLog, pass1.c, problem.c, problem.h, problemP.h:Theodore Ts'o10-13/+161
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.