commit | 2dca60d98e241bea686004168f85208f215fc697 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Jul 08 19:36:02 2018 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Jul 08 19:36:02 2018 -0400 |
tree | 54f5910d68c13a4f88e22d36a4fe760740e9b174 | |
parent | 44de022c4382541cebdd6de4465d1f4f465ff1dd [diff] |
ext4: clear mmp sequence number when remounting read-only 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: Theodore Ts'o <tytso@mit.edu> Cc: Andreas Dilger <adilger@dilger.ca>