On Tue, 29 Nov 2022 14:58:12 +0800, lihaoxiang (F) wrote: > Tune2fs hasn't consider about the result of executing ext2fs_mmp_update2 > when it try to rewrite_metadata_checksums. If the ext2fs_mmp_update2 > failed, multi-mount protection couldn't guard there has the only node > (i.e. this program) accessing this device in the meantime. > > We solve this problem to verify the return value of ext2fs_mmp_update2. > It terminate rewrite_metadata_checksums and exit immediately if the > wrong error code returned. > > [...] Applied, thanks! [1/1] tune2fs:check return value of ext2fs_mmp_update2 in rewrite_metadata_checksums (no commit info) Best regards, -- Theodore Ts'o <tytso@xxxxxxx>