Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 2016 16:25:00 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r293236 - stable/10/sys/fs/ext2fs
Message-ID:  <201601061625.u06GP0x1017722@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Wed Jan  6 16:25:00 2016
New Revision: 293236
URL: https://svnweb.freebsd.org/changeset/base/293236

Log:
  MFC	r292872:
  
  ext2: recognize ext4 INCOMPAT_RECOVER flag
  
  This is a flag specific for journalling in ext4.
  Add it to the list of ext4 features we ignore for
  read-only purposes.
  
  PR:		205668

Modified:
  stable/10/sys/fs/ext2fs/ext2fs.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/fs/ext2fs/ext2fs.h
==============================================================================
--- stable/10/sys/fs/ext2fs/ext2fs.h	Wed Jan  6 16:02:22 2016	(r293235)
+++ stable/10/sys/fs/ext2fs/ext2fs.h	Wed Jan  6 16:25:00 2016	(r293236)
@@ -187,6 +187,7 @@ struct csum {
 
 #define	EXT2F_INCOMPAT_COMP		0x0001
 #define	EXT2F_INCOMPAT_FTYPE		0x0002
+#define	EXT2F_INCOMPAT_RECOVER		0x0004
 #define	EXT2F_INCOMPAT_META_BG		0x0010
 #define	EXT2F_INCOMPAT_EXTENTS		0x0040
 #define	EXT2F_INCOMPAT_64BIT		0x0080
@@ -208,6 +209,7 @@ struct csum {
  *
  * We do not support these EXT4 features but they are irrelevant
  * for read-only support:
+ * - EXT2F_INCOMPAT_RECOVER
  * - EXT2F_INCOMPAT_FLEX_BG
  * - EXT2F_INCOMPAT_META_BG
  */
@@ -216,6 +218,7 @@ struct csum {
 					 EXT2F_ROCOMPAT_EXTRA_ISIZE)
 #define	EXT2F_INCOMPAT_SUPP		EXT2F_INCOMPAT_FTYPE
 #define	EXT4F_RO_INCOMPAT_SUPP		(EXT2F_INCOMPAT_EXTENTS | \
+					 EXT2F_INCOMPAT_RECOVER | \
 					 EXT2F_INCOMPAT_FLEX_BG | \
 					 EXT2F_INCOMPAT_META_BG )
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601061625.u06GP0x1017722>