Description: fstype: recognise ext4 without journal
Author: Colin Watson <cjwatson@ubuntu.com>
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/416636
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536592
Forwarded: http://www.zytor.com/pipermail/klibc/2009-October/002461.html
Last-Update: 2010-03-23

Index: b/usr/kinit/fstype/fstype.c
===================================================================
--- a/usr/kinit/fstype/fstype.c
+++ b/usr/kinit/fstype/fstype.c
@@ -196,14 +196,6 @@
 	if (sb->s_magic != __cpu_to_le16(EXT2_SUPER_MAGIC))
 		return 0;
 
-	/*
-	 * For now, ext4 requires a journal -- but this may change
-	 * soon if we get that patch from Google.  :-)
-	 */
-	if ((sb->s_feature_compat
-	     & __cpu_to_le32(EXT3_FEATURE_COMPAT_HAS_JOURNAL)) == 0)
-		return 0;
-
 	/* There is at least one feature not supported by ext3 */
 	if ((sb->s_feature_incompat
 	     & __cpu_to_le32(EXT3_FEATURE_INCOMPAT_UNSUPPORTED)) ||
