1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
--- e2fsprogs-1.20.WIP-0117/e2fsck/pass1.c.orig Wed Jan 17 19:31:08 2001
+++ e2fsprogs-1.20.WIP-0117/e2fsck/pass1.c Thu Feb 22 16:44:33 2001
@@ -427,6 +427,9 @@
if (ino == EXT2_BOOT_LOADER_INO) {
if (LINUX_S_ISDIR(inode.i_mode))
problem = PR_1_RESERVED_BAD_MODE;
+ } else if (ino == EXT2_RESIZE_INO) {
+ if (!LINUX_S_ISREG(inode.i_mode))
+ problem = PR_1_RESERVED_BAD_MODE;
} else {
if (inode.i_mode != 0)
problem = PR_1_RESERVED_BAD_MODE;
--- e2fsprogs-1.20.WIP-0117/include/linux/ext2_fs.h.orig Sun Jan 14 19:34:24 2001
+++ e2fsprogs-1.20.WIP-0117/include/linux/ext2_fs.h Thu Feb 22 16:45:16 2001
@@ -48,12 +48,7 @@
#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_RESIZE_INO 7 /* Reserved group descriptors inode */
#define EXT2_JOURNAL_INO 8 /* Journal inode */
/* First non-reserved inode for old ext2 filesystems */
|