Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ext2fs add defines for the missing ext4 feature flags
details: https://anonhg.NetBSD.org/src/rev/5f4cba156cec
branches: trunk
changeset: 346894:5f4cba156cec
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Aug 05 21:22:06 2016 +0000
description:
add defines for the missing ext4 feature flags
diffstat:
sys/ufs/ext2fs/ext2fs.h | 32 +++++++++++++++++++++++++++++++-
1 files changed, 31 insertions(+), 1 deletions(-)
diffs (66 lines):
diff -r 01656159fd0d -r 5f4cba156cec sys/ufs/ext2fs/ext2fs.h
--- a/sys/ufs/ext2fs/ext2fs.h Fri Aug 05 20:54:28 2016 +0000
+++ b/sys/ufs/ext2fs/ext2fs.h Fri Aug 05 21:22:06 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ext2fs.h,v 1.40 2016/08/04 17:43:48 jdolecek Exp $ */
+/* $NetBSD: ext2fs.h,v 1.41 2016/08/05 21:22:06 jdolecek Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -264,8 +264,13 @@
#define EXT2F_COMPAT_EXTATTR 0x0008
#define EXT2F_COMPAT_RESIZE 0x0010
#define EXT2F_COMPAT_DIRHASHINDEX 0x0020
+#define EXT2F_COMPAT_SPARSESUPER2 0x0200
#define EXT2F_COMPAT_BITS \
"\20" \
+ "\12COMPAT_SPARSESUPER2" \
+ "\11" \
+ "\10" \
+ "\07" \
"\06COMPAT_DIRHASHINDEX" \
"\05COMPAT_RESIZE" \
"\04COMPAT_EXTATTR" \
@@ -280,8 +285,20 @@
#define EXT2F_ROCOMPAT_GDT_CSUM 0x0010
#define EXT2F_ROCOMPAT_DIR_NLINK 0x0020
#define EXT2F_ROCOMPAT_EXTRA_ISIZE 0x0040
+#define EXT2F_ROCOMPAT_QUOTA 0x0100
+#define EXT2F_ROCOMPAT_BIGALLOC 0x0200
+#define EXT2F_ROCOMPAT_METADATA_CKSUM 0x0400
+#define EXT2F_ROCOMPAT_READONLY 0x1000
+#define EXT2F_ROCOMPAT_PROJECT 0x2000
#define EXT2F_ROCOMPAT_BITS \
"\20" \
+ "\16ROCOMPAT_PROJECT" \
+ "\15ROCOMPAT_READONLY" \
+ "\14" \
+ "\13ROCOMPAT_METADATA_CKSUM" \
+ "\12ROCOMPAT_BIGALLOC" \
+ "\11ROCOMPAT_QUOTA" \
+ "\10" \
"\07ROCOMPAT_EXTRA_ISIZE" \
"\06ROCOMPAT_DIR_NLINK" \
"\05ROCOMPAT_GDT_CSUM" \
@@ -299,8 +316,21 @@
#define EXT2F_INCOMPAT_64BIT 0x0080
#define EXT2F_INCOMPAT_MMP 0x0100
#define EXT2F_INCOMPAT_FLEX_BG 0x0200
+#define EXT2F_INCOMPAT_EA_INODE 0x0400
+#define EXT2F_INCOMPAT_DIRDATA 0x1000
+#define EXT2F_INCOMPAT_CSUM_SEED 0x2000
+#define EXT2F_INCOMPAT_LARGEDIR 0x4000
+#define EXT2F_INCOMPAT_INLINE_DATA 0x8000
+#define EXT2F_INCOMPAT_ENCRYPT 0x10000
#define EXT2F_INCOMPAT_BITS \
"\20" \
+ "\021INCOMPAT_ENCRYPT" \
+ "\020INCOMPAT_INLINE_DATA" \
+ "\017INCOMPAT_LARGEDIR" \
+ "\016INCOMPAT_CSUM_SEED" \
+ "\015INCOMPAT_DIRDATA" \
+ "\014" \
+ "\013INCOMPAT_EA_INODE" \
"\012INCOMPAT_FLEX_BG" \
"\011INCOMPAT_MMP" \
"\010INCOMPAT_64BIT" \
Home |
Main Index |
Thread Index |
Old Index