Module Name: src Committed By: tsutsui Date: Fri Nov 27 11:16:54 UTC 2009
Modified Files: src/sys/ufs/ext2fs: ext2fs.h ext2fs_dinode.h Log Message: Add definitions for more reserved inodes. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/ufs/ext2fs/ext2fs.h cvs rdiff -u -r1.21 -r1.22 src/sys/ufs/ext2fs/ext2fs_dinode.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/ufs/ext2fs/ext2fs.h diff -u src/sys/ufs/ext2fs/ext2fs.h:1.28 src/sys/ufs/ext2fs/ext2fs.h:1.29 --- src/sys/ufs/ext2fs/ext2fs.h:1.28 Mon Oct 19 18:41:17 2009 +++ src/sys/ufs/ext2fs/ext2fs.h Fri Nov 27 11:16:54 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: ext2fs.h,v 1.28 2009/10/19 18:41:17 bouyer Exp $ */ +/* $NetBSD: ext2fs.h,v 1.29 2009/11/27 11:16:54 tsutsui Exp $ */ /* * Copyright (c) 1982, 1986, 1993 @@ -198,6 +198,7 @@ /* compatible/incompatible features */ #define EXT2F_COMPAT_PREALLOC 0x0001 +#define EXT2F_COMPAT_HASJOURNAL 0x0004 #define EXT2F_COMPAT_RESIZE 0x0010 #define EXT2F_ROCOMPAT_SPARSESUPER 0x0001 Index: src/sys/ufs/ext2fs/ext2fs_dinode.h diff -u src/sys/ufs/ext2fs/ext2fs_dinode.h:1.21 src/sys/ufs/ext2fs/ext2fs_dinode.h:1.22 --- src/sys/ufs/ext2fs/ext2fs_dinode.h:1.21 Mon Oct 19 18:41:17 2009 +++ src/sys/ufs/ext2fs/ext2fs_dinode.h Fri Nov 27 11:16:54 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: ext2fs_dinode.h,v 1.21 2009/10/19 18:41:17 bouyer Exp $ */ +/* $NetBSD: ext2fs_dinode.h,v 1.22 2009/11/27 11:16:54 tsutsui Exp $ */ /* * Copyright (c) 1982, 1989, 1993 @@ -75,9 +75,15 @@ * the root inode is 2. * Inode 3 to 10 are reserved in ext2fs. */ -#define EXT2_ROOTINO ((ino_t)2) -#define EXT2_RESIZEINO ((ino_t)7) -#define EXT2_FIRSTINO ((ino_t)11) +#define EXT2_BADBLKINO ((ino_t)1) +#define EXT2_ROOTINO ((ino_t)2) +#define EXT2_ACLIDXINO ((ino_t)3) +#define EXT2_ACLDATAINO ((ino_t)4) +#define EXT2_BOOTLOADERINO ((ino_t)5) +#define EXT2_UNDELDIRINO ((ino_t)6) +#define EXT2_RESIZEINO ((ino_t)7) +#define EXT2_JOURNALINO ((ino_t)8) +#define EXT2_FIRSTINO ((ino_t)11) /* * A dinode contains all the meta-data associated with a UFS file.