summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-06-22uuid.h: Add protection against multiple inclusionTheodore Ts'o2-0/+9
2001-06-22ADD TAG: WIP-20010620Theodore Ts'o1-0/+1
2001-06-22Update version for 1.22-WIP releaseTheodore Ts'o1-2/+2
2001-06-22Makefile.in: Avoid including BitKeeper files into the source tarball.Theodore Ts'o2-1/+7
2001-06-22dirblock.c (ext2fs_read_dir_block): Remove use of dir_entry_2 sinceTheodore Ts'o2-3/+9
the byte-swapping code all assumes the ext2_dir_entry structure. (It's a question of whether or not name_len should be byte-swapped or not, and whether it's a 16 bit or 8 bit field.)
2001-06-22super.c (release_inode_blocks): Don't try to release the blocks if theTheodore Ts'o2-0/+9
orphaned inode is a device file, symlink, or some other kind of special file that doesn't have a block list.
2001-06-22Filter out CR characters from the output, since BK filtered \r fromtheTheodore Ts'o3-2/+8
expect files. This is needed to make the regression test suite work again.
2001-06-16ADD TAG: E2FSPROGS-1_21Theodore Ts'o1-0/+1
2001-06-16ChangeLog:Theodore Ts'o21-0/+84
Update for 1.21 release.
2001-06-15Many files:Theodore Ts'o12-99/+255
Synchronize with the Debian package 1.20+1.21-WIP-0614-1. RELEASE-NOTES, version.h, libext2fs.texinfo, e2fsprogs.lsm: Update for 1.21 release.
2001-06-15ChangeLog, Makefile.in:Theodore Ts'o2-3/+10
Makefile.in: Fix bug in installation of ext2_types.h. It is a file which is generated and is therefore found in the build directory, not source directory.
2001-06-15ChangeLog, ismounted.c:Theodore Ts'o2-1/+11
ismounted.c (check_mntent_file): Use a test file in / to check to see if the root filesystem is mounted read-only. This protects against the case where /etc might not be on /, as well as the case where /etc/mtab doesn't exist. (Both are should-never happen scenarios, but you never know...)
2001-06-14configure:Theodore Ts'o2-195/+171
Update to latest configure.in script. version.h: Update for WIP release.
2001-06-14tune2fs.8.in:Theodore Ts'o1-2/+1
Fix minor man page nits.
2001-06-14RELEASE-NOTES, ChangeLog:Theodore Ts'o2-1/+2
Add Debian bug number which got resolved.
2001-06-14ChangeLog, mke2fs.c:Theodore Ts'o2-2/+6
mke2fs.c (PRS): Remove unneeded test in when creating a external filesystem journal.
2001-06-14ChangeLog, ismounted.c:Theodore Ts'o2-4/+7
ismounted.c (ext2fs_check_if_mounted): Fix grammer in comment. Remove unneeded #pragma argsused, since the arguments are always used.
2001-06-14problem.c:Theodore Ts'o1-6/+6
Fix tabbing/indenting from Andreas.
2001-06-14ChangeLog, mke2fs.c, tune2fs.8.in, tune2fs.c, util.c, util.h:Theodore Ts'o6-11/+60
tune2fs.c, mke2fs.c, util.c, util.h (print_check_message): Move the message which displays how often the filesystem will be checked from mke2fs into a utility subroutine. Then cause tune2fs to call that function to display the message after adding a journal to a filesystem. mke2fs.8.in: Add manual page fixups and explanation for why it's good to check filesystems periodically from Andreas Dilger.
2001-06-14ChangeLog, unix.c:Theodore Ts'o2-8/+21
unix.c (check_if_skip): Adapted patch from Andreas Dilger which prints the number of mounts or days elapsed since the last check when e2fsck is forced to check an otherwise clean filesystem.
2001-06-14ChangeLog, ext2_types.h.in:Theodore Ts'o4-1/+16
ext2_types.h.in: If linux/types.h has been defined, then don't try to redefine the typedefs. ChangeLog, Makefile.in: Makefile.in: Make the install target depend on $(SUBS) to accomodate the fools who want to compile and install e2fsprogs as root using just one command.
2001-06-13RELEASE-NOTES:Theodore Ts'o1-2/+2
Fixed release note entry since we ended up installing ext2_fs.h in /usr/include/ext2fs.
2001-06-13ChangeLog, setsuper.c:Theodore Ts'o4-1/+11
setsuper.c: Add s_lastcheck field to the fields which can be modified using set_super_value. (Suggested by Andreas Dilger) ChangeLog, Makefile.in: Makefile.in (HFILES): Add ext2_types.h to the list of files which should be installed.
2001-06-13ChangeLog:Theodore Ts'o2-2/+2
Add debian bug number reference. Add debian bug reference.
2001-06-13ChangeLog, ismounted.c:Theodore Ts'o2-0/+5
ismounted.c (check_mntent_file): Work around GNU hurd brain damage.
2001-06-13ChangeLog, Makefile.in:Theodore Ts'o2-15/+24
Makefile.in: Limit some .o files from being included into the library if --disable-debugfs, --disable-swapfs, --disable-imager, or --disable-resizer are used.
2001-06-13ChangeLog, configure, configure.in:Theodore Ts'o6-384/+542
configure.in: Add --disable-resizer, --disable-imager, and --disable-debugfs switches, which allow people who are building boot floppies to build a very restricted e2fsprogs distribution. Note: these functions limit the functions in the shared library, so beware! Makefile.in, ChangeLog: Makefile.in: Don't recurse into debugfs and resize subdirectory if --disable-debugfs or --disable-resizer is given as a configuration option. ChangeLog, Makefile.in: Makefile.in: Don't build e2image if --disable-imager is specified to configure.
2001-06-13Makefile.in:Theodore Ts'o1-0/+10
Insert missing dependencies.
2001-06-13ChangeLog, dumpe2fs.c, mke2fs.c:Theodore Ts'o8-30/+41
dumpe2fs.c: Use WORDS_BIGENDIAN to determine whether or not we're (not) using i386 byte order. dumpe2fs.c, mke2fs.c: Stop using the compatibility badblocks function, and use the ext2fs_badblocks_* functions instead. ChangeLog, inode.c, tst_iscan.c: inode.c, tst_iscan.c: Stop using the compatibility badblocks function, and use the ext2fs_badblocks_* functions instead. ChangeLog, badblocks.c: badblocks.c: Stop using the compatibility badblocks function, and use the ext2fs_badblocks_* functions instead.
2001-06-12ChangeLog, fsck.c:Theodore Ts'o2-1/+7
fsck.c (device_already_active): Fixed bug which can cause fsck to core dump if there are a mix of devices with standard and non-standard names.
2001-06-11ChangeLog, Makefile.in, bitops.h, gen_bitmap.c:Theodore Ts'o5-23/+62
Makefile.in, gen_bitmap.c, bitops.h: Move inline functions ext2fs_mark_generic_bitmap and ext2fs_unmark_generic_bitmap to gen_bitmap.c as normal functions. (This saves space and doesn't significantly change the speed of e2fsck on a P-III.) ChangeLog: Add missing log entry for unix.c.
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.