Whamcloud - gitweb
blkid: Automatically chose between ext4 and ext4dev as appropriate
authorTheodore Ts'o <tytso@mit.edu>
Fri, 8 Feb 2008 21:04:12 +0000 (16:04 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 9 Feb 2008 12:45:21 +0000 (07:45 -0500)
commitcfc19311947dc4bd1731f641a8c52135a02e5559
treec78e5777c9046f1d91d2ca159cbee201338aa2af
parent414025e542d66a34e164286e783143cb256dd75e
blkid: Automatically chose between ext4 and ext4dev as appropriate

Add logic that on Linux systems will check for the presence of the
ext4dev filesystem; if it isn't present, fall back to ext4 for
filesystems that are marked as being "OK for use on test filesystem
code".  If they are OK for use for in-development filesystem code, it
should also be fine to use stable filesystem code if there is no test
filesystem code (ext4dev) available.

The reverse is not true, of course.  We don't ever want to mount a
production filesystem using test filesystem code unless the user gives
us explicit permission via "tune2fs -E test_fs".

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/blkid/probe.c