Whamcloud - gitweb
e2fsck: allow checking on mounted root filesystem
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 30 May 2012 18:16:53 +0000 (12:16 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 9 Aug 2012 08:13:32 +0000 (02:13 -0600)
commit4d9ab375b7e972a63b26914ec1d3a3fb3a00aef6
tree46cd49fa20a1e153805c52b9d1a06f29906a7ec8
parentc822ecf737311af88c6525d571985f6c666ed0a8
e2fsck: allow checking on mounted root filesystem

Commit 732e26b98e5c79a4298dbe341f43b54b354bb241 added checks to
prevent e2fsck from being run in filesystem-modifying mode against
a mounted or otherwise busy device, due to several bug reports of
users doing this even with the verbose warnings in check_mount().

However, it also prevented e2fsck from checking a mounted root
filesystem, which will prevent the node from booting.  Once again
allow e2fsck to run against the mounted root filesystem.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
e2fsck/unix.c