Whamcloud - gitweb
e2fsck: avoid unnecessary reboots in some cases when checking the root fs
authorTheodore Ts'o <tytso@mit.edu>
Sat, 1 Oct 2011 00:59:17 +0000 (20:59 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 1 Oct 2011 03:12:37 +0000 (23:12 -0400)
commit86db36abfb3e9ec77c482e02ed8de073de4148e3
treef5893ba3d00f36593d046e7d5f60823baa9e6bb3
parent9c58eaf7d3a47d83945bd3756271e7ae675b25e1
e2fsck: avoid unnecessary reboots in some cases when checking the root fs

If e2fsck modifies certain superblock fields which the kernel doesn't
look at, mark the superblock as dirty without marking the file system
as changed.  This will avoid e2fsck signalling the init scripts that a
reboot is necessary.  This is safe, because the kernel doesn't
actually look at these superblock fields.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/super.c
tests/f_okgroup/expect.1
tests/r_move_itable/expect
tests/r_resize_inode/expect