summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2000-10-24 18:33:16 +0000
committerTheodore Ts'o <tytso@mit.edu>2000-10-24 18:33:16 +0000
commitd3cd93cabeac8c153c8ae7b1b7358d6ced86b15e (patch)
treeb93e86dbd12141cc0f908fdea1c8c59e98403bb2 /include/linux
parentadfc8c6c9902c3f08c79a44c1927971175f9d947 (diff)
downloade2fsprogs-d3cd93cabeac8c153c8ae7b1b7358d6ced86b15e.tar.gz
ChangeLog, Makefile.in, ext2_err.et.in, ext2fs.h, jfs_dat.h, mkjournal.c:
Makefile.in, ext2fs.h, jfs_dat.h, mkjournal.c: Add functions for creating an ext3 journal on a filesystem. ext2_err.et.in (EXT2_JOURNAL_NOT_BLOCK): Add new error code. .del-ext2_fs.h~7a460879, ChangeLog: ext2_fs.h (EXT2_JOURNAL_INO): Add definition for EXT2_JOURNAL_INO; reserve inode #7 for EXT2_RESIZE_INO. TODO: Commit TOOD suggestion.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ChangeLog5
-rw-r--r--include/linux/ext2_fs.h7
2 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/ChangeLog b/include/linux/ChangeLog
index 3d0ccb94..0067f461 100644
--- a/include/linux/ChangeLog
+++ b/include/linux/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-24 <tytso@valinux.com>
+
+ * ext2_fs.h (EXT2_JOURNAL_INO): Add definition for
+ EXT2_JOURNAL_INO; reserve inode #7 for EXT2_RESIZE_INO.
+
2000-08-14 <tytso@valinux.com>
* ext2_fs.h: Add comment explaining when journal fields are valid.
diff --git a/include/linux/ext2_fs.h b/include/linux/ext2_fs.h
index eca1a48a..479c9e8c 100644
--- a/include/linux/ext2_fs.h
+++ b/include/linux/ext2_fs.h
@@ -48,6 +48,13 @@
#define EXT2_ACL_DATA_INO 4 /* ACL inode */
#define EXT2_BOOT_LOADER_INO 5 /* Boot loader inode */
#define EXT2_UNDEL_DIR_INO 6 /* Undelete directory inode */
+/*
+ * 7 is reserved for EXT2_RESIZE_INO; was used for this in the past
+ * for the on-line resizing patches, but there is a better way of
+ * doing this which sct, andreas, and tytso discussed at the
+ * Filesystem/Storage Management Workshop in Miami (October, 2000).
+ */
+#define EXT2_JOURNAL_INO 8 /* Journal inode */
/* First non-reserved inode for old ext2 filesystems */
#define EXT2_GOOD_OLD_FIRST_INO 11