- 21 May, 2008 1 commit
-
-
Maciej W. Rozycki authored
Since version 2.50 autoconf fully supports checking sizes of types (with AC_CHECK_SIZEOF) when cross-compiling. Therefore there is no need to preset the respective cache variables anymore. The following patch removes the special case. There is no need to adjust AC_PREREQ as it's set to 2.50 already. Tested successfully cross-building for the mips64el-linux-gnu host on an i386-linux-gnu build system, removing the following warning (because of a mismatch for the "long" type): Sizeof(__U64__TYPEDEF) is 4 should be 8 Problem detected with asm_types.h Signed-off-by:
Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 20 May, 2008 2 commits
-
-
Theodore Ts'o authored
This fixes problems turned up by a test case written by Erez Zadok's group which constantly reformats filesystems. Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
Theodore Ts'o authored
While synchronizing e2fsck's recovery.c with the latest 2.6 kernel sources, I discovered a serious bug that apparently had been fixed in the kernel sometime between Deceber 2003 and April 2005, but which had not been carried over to e2fsprogs. Specifically, when blocks whose first 4 bytes are JFS_MAGIC_NUMBER (0xc03b3998) are written into the journal, the first 4 bytes zero'ed out. A one character typo meant that when the blocks were replayed by e2fsck, the JFS_MAGIC_NUMBER would not be restored. Oops. Fortunately, it is *highly* unlikely that ext4 metadata blocks will contain that magic number in the first four bytes, and data=journalled is a relatively rarely used. This commit fixes this bug, as well as updating e2fsck's recovery.c to be in sync with 2.6.25. Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 14 May, 2008 4 commits
-
-
Clytie Siddall authored
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
Gran Uddeborg authored
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
Benno Schulenberg authored
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
Philipp Thomas authored
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
- 12 May, 2008 2 commits
-
-
Theodore Ts'o authored
Addresses-Sourceforge-Bug: #1961831 Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
Matthias Koenig authored
Signed-off-by:
Matthias Koenig <mkoenig@suse.de> Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
- 27 Apr, 2008 4 commits
-
-
Theodore Ts'o authored
Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
Theodore Ts'o authored
Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
Makoto Dei authored
"yY" should be translated to "jJ" instead of "yJ" Addresses-Sourceforge-Bug: #1947683 Signed-off-by:
Makoto Dei <makoto@turbolinux.co.jp> Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
Theodore Ts'o authored
The combination of meta_bg and resize_inode leads to a corrupt filesystem, and it's not really clear it makes any logical sense. Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 22 Apr, 2008 3 commits
-
-
Theodore Ts'o authored
The one we had in the tree before was from circa 1996. Lots of updates and bug fixes since then.... Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
Theodore Ts'o authored
Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
Manish Katiyar authored
Signed-off-by:
Manish Katiyar <mkatiyar@gmail.com> Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 21 Apr, 2008 1 commit
-
-
Theodore Ts'o authored
When a nonprivileged user uses the blkid command, we want to keep the cached filesystem information, and opening a device file could result in an EACCESS or ENOENT (if an intervening directory is mode 700). We were previously testing for EPERM, which was really the wrong error code to be testing against. Addresses-Launchpad-Bug: #220275 Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 13 Apr, 2008 5 commits
-
-
Gran Uddeborg authored
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
Jakub Bogusz authored
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
Samuel Thibault authored
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
Philipp Thomas authored
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
Petr Pisar authored
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
- 09 Apr, 2008 1 commit
-
-
Theodore Ts'o authored
Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 07 Apr, 2008 1 commit
-
-
Matthias Koenig authored
In current git there is a double free on ctx->filesystem_name in the end of main() and in e2fsck_free_context, causing e2fsck to abort at the end of pass5. Signed-off-by:
Matthias Koenig <mkoenig@suse.de> Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 06 Apr, 2008 4 commits
-
-
Theodore Ts'o authored
The m_no_opt test has been silently failing since the addition of mke2fs.conf, since it was trying to use resize_inode on a non-sparse filesystem. Fix it so it works correctly. Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
Theodore Ts'o authored
Thanks to Max Lindner (lokimuh) for pointing this out. I'm playing around a bit with ext2 and multi-user encryption and I need space for my key management. So I set s_first_data_block to 4000 or something like that. This way mke2fs segfaults when executing ext2fs_create_resize_inode() because blk_t goal = 3 + sb->s_reserved_gdt_blocks + fs->desc_blocks + fs->inode_blocks_per_group; will produce a integer underrun later and segfault then in the ext2fs_test_bit assembler inline function. when exchanging 3 with 2 + sb->s_first_data_block, mke2fs does not segfault. I'm not 100% sure if thats the correct way dealing with this issue but I think its a proper solution. Addresses-Sourceforge-Bug: #1935847 Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
Clytie Siddall authored
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
Benno Schulenberg authored
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
- 02 Apr, 2008 2 commits
-
-
Samuel Thibault authored
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
-
Theodore Ts'o authored
Thanks to Mike Frysinger for pointing this out. Addresses-Sourceforge-Bug: 1921969 Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 30 Mar, 2008 1 commit
-
-
Andreas Dilger authored
Signed-off-by:
Andreas Dilger <adilger@dilger.ca> Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 29 Mar, 2008 2 commits
-
-
Theodore Ts'o authored
This bug was accidentally introduced by commit 1dc506cb . Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
Michael Spang authored
Addresses-Debian-Bug: #473179 Signed-off-by:
Michael Spang <mspang@uwaterloo.ca> Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 28 Mar, 2008 1 commit
-
-
Theodore Ts'o authored
Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 26 Mar, 2008 5 commits
-
-
Theodore Ts'o authored
Also make sure the device name has no spaces in it, to avoid confusing displays, and make ctx->filesystem_name and ctx->device_name allocated memory to avoid potential problems in the future. Addresses-Launchpad-Bug: #203323 Addresses-Sourceforge-Bug: #1926023 Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
Theodore Ts'o authored
Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
Theodore Ts'o authored
Previously, fsck was only passing in -Cn to the first e2fsck process to start up, and enabling the progress information by sending a SIGUSR1 signal. This didn't work if the progress information was intended to go to file descriptor, since the information was never passed to e2fsck. So we now pass the progress fd in as a negative number if the progress information is intended to be initially suppressed. Addresses-Launchpad-Bug: #203323 Addresses-Sourceforge-Bug: #1926023 Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
Theodore Ts'o authored
If a negative progress argument is given to -C, initially suppress the progress information. It can be enabled later by sending the e2fsck process a SIGUSR1 signal. Addresses-Launchpad-Bug: #203323 Addresses-Sourceforge-Bug: #1926023 Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
Theodore Ts'o authored
The exiting fsck instance wasn't marked as DONE, so the safety checks thought a progress bar was still in progress, and so we didn't enable another filesystem's checking. Addresses-Debian-Bug: #432865 Addresses-Launchpad-Bug: #203323 Addresses-Sourceforge-Bug: #1926023 Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 21 Mar, 2008 1 commit
-
-
Theodore Ts'o authored
Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-