From 244f00cc0dfc19b1aeba75bc00412250126a2ee5 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Wed, 4 Dec 2013 02:27:52 +0000 Subject: [PATCH] ext2fs: add two new reserved inodes. According to online documentation [1], Ext4 has two new "special" inodes so add the new exclude and replica inodes. Reference: [1] https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout Reported by: Mike Ma MFC after: 3 weeks --- sys/fs/ext2fs/ext2_dinode.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/fs/ext2fs/ext2_dinode.h b/sys/fs/ext2fs/ext2_dinode.h index e492a0858c17..41b0236e732a 100644 --- a/sys/fs/ext2fs/ext2_dinode.h +++ b/sys/fs/ext2fs/ext2_dinode.h @@ -44,6 +44,8 @@ #define EXT2_UNDELDIRINO ((ino_t)6) #define EXT2_RESIZEINO ((ino_t)7) #define EXT2_JOURNALINO ((ino_t)8) +#define EXT2_EXCLUDEINO ((ino_t)9) +#define EXT2_REPLICAINO ((ino_t)10) #define EXT2_FIRSTINO ((ino_t)11) /*