Whamcloud - gitweb
e2fsprogs: fix blkid detection of ext4dev as ext4
authorEric Sandeen <sandeen@redhat.com>
Wed, 8 Oct 2008 18:34:09 +0000 (13:34 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 13 Oct 2008 03:11:44 +0000 (23:11 -0400)
commit18f734301012301efbeb87a7c67f6cf82f1721d7
tree46c1352b517a634e4478c1a2251bd565c07e7682
parentd58d8320e881a751cc40e3f2ab00c6e16c8447db
e2fsprogs: fix blkid detection of ext4dev as ext4

If only ext4 is available (as a module or in /proc/filesystems)
blkid wasn't properly testing for it, because the time checks
were backwards and always failed.  This caused old ext4dev
filesystems to fail to mount as ext4.  With this patch it works
fine.

Also, don't try to check for modules on a non-Linux system.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/blkid/probe.c