1. 21 May, 2008 1 commit
    • Maciej W. Rozycki's avatar
      Remove default sizeof sizes in configure script when cross-compiling · b8251a54
      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: default avatarMaciej W. Rozycki <macro@linux-mips.org>
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      b8251a54
  2. 20 May, 2008 2 commits
    • Theodore Ts'o's avatar
      blkid: If the device mtime is newer that the cache time, force a revalidation · 492ea655
      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: default avatar"Theodore Ts'o" <tytso@mit.edu>
      492ea655
    • Theodore Ts'o's avatar
      e2fsck: Fix potential data corruptor bug in journal recovery · e5ea6b14
      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: default avatar"Theodore Ts'o" <tytso@mit.edu>
      e5ea6b14
  3. 14 May, 2008 4 commits
  4. 12 May, 2008 2 commits
  5. 27 Apr, 2008 4 commits
  6. 22 Apr, 2008 3 commits
  7. 21 Apr, 2008 1 commit
  8. 13 Apr, 2008 5 commits
  9. 09 Apr, 2008 1 commit
  10. 07 Apr, 2008 1 commit
  11. 06 Apr, 2008 4 commits
  12. 02 Apr, 2008 2 commits
  13. 30 Mar, 2008 1 commit
  14. 29 Mar, 2008 2 commits
  15. 28 Mar, 2008 1 commit
  16. 26 Mar, 2008 5 commits
  17. 21 Mar, 2008 1 commit