• 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
mmp.c 9.89 KB