Author: pfg
Date: Wed Dec  4 02:27:52 2013
New Revision: 258904
URL: http://svnweb.freebsd.org/changeset/base/258904

Log:
  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

Modified:
  head/sys/fs/ext2fs/ext2_dinode.h

Modified: head/sys/fs/ext2fs/ext2_dinode.h
==============================================================================
--- head/sys/fs/ext2fs/ext2_dinode.h    Wed Dec  4 01:40:39 2013        
(r258903)
+++ head/sys/fs/ext2fs/ext2_dinode.h    Wed Dec  4 02:27:52 2013        
(r258904)
@@ -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)
 
 /*
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to