Whamcloud - gitweb
e2fsck: check a file system mounted read-only if forced
authorTheodore Ts'o <tytso@mit.edu>
Sun, 29 Jul 2012 04:16:44 +0000 (00:16 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 Jul 2012 04:16:44 +0000 (00:16 -0400)
commit78a0d2ba6decf41f541f6ff79433b2d23aad35e8
tree774f2a2dc4cc5b41de85ccf9618674054b308fb6
parenta85f83503a6eabeed6913520c97f49877dc2a366
e2fsck: check a file system mounted read-only if forced

Previously e2fsck would only allow a mounted file system to be checked
if it was the root file system and it was mounted read-only.  Now
allow any file system mounted read-only if the -f option is specified.

This makes it easier to test how e2fsck handles checking file systems
which are mounted without having to test on the root file system.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/unix.c