Whamcloud - gitweb
blkid: Add fallback to ext4 for 2.6.29+ kernels if ext2 is not present
authorTheodore Ts'o <tytso@mit.edu>
Sun, 8 Mar 2009 22:56:41 +0000 (18:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 8 Mar 2009 22:56:41 +0000 (18:56 -0400)
commit1361821e7e248166f0740c832b164e6cd6b89de9
tree643a006e00e5c5eb2330094c57787940dd22b622
parenta90f5391dda78f7bc4a8196a78355584ace0adf5
blkid: Add fallback to ext4 for 2.6.29+ kernels if ext2 is not present

Starting in 2.6.29, ext4 can be used to support filesystems without a
journal.  So if ext2 is not present, and the kernel version is greater
than 2.6.29, and ext4 is present, return a filesystme type of ext4.

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