ext2fs: Mark superblock as not modified when written
authorsf <sf@openbsd.org>
Tue, 30 May 2017 10:32:53 +0000 (10:32 +0000)
committersf <sf@openbsd.org>
Tue, 30 May 2017 10:32:53 +0000 (10:32 +0000)
commitd2252e96c6bc6ed23c6d3a732d3c2c5a8b2306b7
tree66610f67dfdc64afbc210002b3a359ef0855d5e4
parent7990eba6d6a71f37c3431f0fb0f29a17d8b37b1e
ext2fs: Mark superblock as not modified when written

I have seen spurious "file system not clean; please fsck(8)" warnings
during "mount -ur". Set e2fs_fmod = 0 when writing the superblock (as
ffs does).

"Makes sense" deraadt@
sys/ufs/ext2fs/ext2fs_vfsops.c