1. 27 Aug, 2018 1 commit
  2. 04 Aug, 2018 1 commit
  3. 02 Aug, 2018 2 commits
  4. 01 Aug, 2018 2 commits
  5. 29 Jul, 2018 30 commits
  6. 12 Jul, 2018 1 commit
  7. 10 Jul, 2018 1 commit
  8. 08 Jul, 2018 2 commits
    • Theodore Ts'o's avatar
      ext4: clear mmp sequence number when remounting read-only · 2dca60d9
      Theodore Ts'o authored
      Previously, when an MMP-protected file system is remounted read-only,
      the kmmpd thread would exit the next time it woke up (a few seconds
      later), without resetting the MMP sequence number back to
      EXT4_MMP_SEQ_CLEAN.
      
      Fix this by explicitly killing the MMP thread when the file system is
      remounted read-only.
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      Cc: Andreas Dilger <adilger@dilger.ca>
      2dca60d9
    • Theodore Ts'o's avatar
      ext4: fix false negatives *and* false positives in ext4_check_descriptors() · 44de022c
      Theodore Ts'o authored
      Ext4_check_descriptors() was getting called before s_gdb_count was
      initialized.  So for file systems w/o the meta_bg feature, allocation
      bitmaps could overlap the block group descriptors and ext4 wouldn't
      notice.
      
      For file systems with the meta_bg feature enabled, there was a
      fencepost error which would cause the ext4_check_descriptors() to
      incorrectly believe that the block allocation bitmap overlaps with the
      block group descriptor blocks, and it would reject the mount.
      
      Fix both of these problems.
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      Cc: stable@vger.kernel.org
      44de022c