]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: Add new "development flag" to the ext4 filesystem
authorTheodore Tso <tytso@MIT.EDU>
Sun, 10 Feb 2008 06:11:44 +0000 (01:11 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 10 Feb 2008 06:11:44 +0000 (01:11 -0500)
commitb95a0d43c29e0811f49f89fb320c3a3c88581513
treed7cd5a7097d1c87b0dfc46297b05d297aabfdf62
parent4f357967d27600701f7ce61b8ac0501de5a22671
ext4: Add new "development flag" to the ext4 filesystem

This flag is simply a generic "this is a crash/burn test filesystem"
marker.  If it is set, then filesystem code which is "in development"
will be allowed to mount the filesystem.  Filesystem code which is not
considered ready for prime-time will check for this flag, and if it is
not set, it will refuse to touch the filesystem.

As we start rolling ext4 out to distro's like Fedora, et. al, this makes
it less likely that a user might accidentally start using ext4 on a
production filesystem; a bad thing, since that will essentially make it
be unfsckable until e2fsprogs catches up.

Signed-off-by: Theodore Tso <tytso@MIT.EDU>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
fs/ext4/super.c
include/linux/ext4_fs.h