struct buffer_head *bh = 0;
unsigned long block;
unsigned long block_group;
-@@ -1990,30 +1995,26 @@ int ext3_get_inode_loc (struct inode *in
- unsigned long desc;
- unsigned long offset;
- struct ext3_group_desc * gdp;
--
-+
- if ((inode->i_ino != EXT3_ROOT_INO &&
+@@ -1995,25 +2000,21 @@ int ext3_get_inode_loc (struct inode *in
inode->i_ino != EXT3_ACL_IDX_INO &&
inode->i_ino != EXT3_ACL_DATA_INO &&
inode->i_ino != EXT3_JOURNAL_INO &&
brelse (iloc.bh);
-@@ -2141,19 +2143,19 @@ void ext3_read_inode(struct inode * inod
- init_special_inode(inode, inode->i_mode,
- le32_to_cpu(iloc.raw_inode->i_block[0]));
+@@ -2143,17 +2145,17 @@ void ext3_read_inode(struct inode * inod
/* inode->i_attr_flags = 0; unused */
- if (inode->u.ext3_i.i_flags & EXT3_SYNC_FL) {
+ if (ii->i_flags & EXT3_SYNC_FL) {
ret = bh;
goto cleanup_and_exit;
} else {
-@@ -1286,7 +1286,7 @@ static int ext3_mkdir(struct inode * dir
-
- inode->i_op = &ext3_dir_inode_operations;
- inode->i_fop = &ext3_dir_operations;
-- inode->i_size = inode->u.ext3_i.i_disksize = inode->i_sb->s_blocksize;
-+ inode->i_size = EXT3_I(inode)->i_disksize = inode->i_sb->s_blocksize;
- inode->i_blocks = 0;
- dir_block = ext3_bread (handle, inode, 0, 1, &err);
- if (!dir_block) {
+@@ -1320,7 +1320,7 @@ static int ext3_mkdir(struct inode * dir
+ if (err)
+ goto out_no_entry;
+ dir->i_nlink++;
+- dir->u.extN_i.i_flags &= ~EXTN_INDEX_FL;
++ EXT3_I(dir)->i_flags &= ~EXTN_INDEX_FL;
+ extN_mark_inode_dirty(handle, dir);
+ d_instantiate(dentry, inode);
+ out_stop:
@@ -1419,7 +1419,7 @@ int ext3_orphan_add(handle_t *handle, st
int err = 0, rc;
jbd_debug(4, "orphan inode %ld will point to %ld\n",
i_prev->i_ino, ino_next);
err = ext3_reserve_inode_write(handle, i_prev, &iloc2);
-@@ -1682,7 +1682,7 @@ static int ext3_symlink (struct inode *
- if (IS_ERR(inode))
- goto out_stop;
-
-- if (l > sizeof (inode->u.ext3_i.i_data)) {
-+ if (l > sizeof (EXT3_I(inode)->i_data)) {
- inode->i_op = &page_symlink_inode_operations;
- inode->i_mapping->a_ops = &ext3_aops;
- /*
@@ -1695,10 +1695,10 @@ static int ext3_symlink (struct inode *
goto out_no_entry;
} else {
es->s_state |= cpu_to_le16(EXT3_ERROR_FS);
ext3_commit_super (sb, es, 1);
-@@ -1744,7 +1746,7 @@ static void __exit exit_ext3_fs(void)
- unregister_filesystem(&ext3_fs_type);
- }
-
--EXPORT_NO_SYMBOLS;
-+EXPORT_SYMBOL(ext3_bread);
-
- MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");
- MODULE_DESCRIPTION("Second Extended Filesystem with journaling extensions");
--- ./fs/ext3/symlink.c.orig Fri Apr 12 10:27:49 2002
+++ ./fs/ext3/symlink.c Tue May 7 15:25:39 2002
@@ -23,13 +23,13 @@
--- ./include/linux/ext3_fs.h.orig Tue Apr 16 14:27:25 2002
+++ ./include/linux/ext3_fs.h Tue May 7 16:47:36 2002
-@@ -84,23 +84,25 @@
+@@ -84,22 +84,25 @@
#define EXT3_MIN_BLOCK_SIZE 1024
#define EXT3_MAX_BLOCK_SIZE 4096
#define EXT3_MIN_BLOCK_LOG_SIZE 10
-#else
-# define EXT3_BLOCK_SIZE(s) (EXT3_MIN_BLOCK_SIZE << (s)->s_log_block_size)
-#endif
--#define EXT3_ACLE_PER_BLOCK(s) (EXT3_BLOCK_SIZE(s) / sizeof (struct ext3_acl_entry))
-#define EXT3_ADDR_PER_BLOCK(s) (EXT3_BLOCK_SIZE(s) / sizeof (__u32))
-#ifdef __KERNEL__
-# define EXT3_BLOCK_SIZE_BITS(s) ((s)->s_blocksize_bits)
#define EXT3_INODE_SIZE(s) (((s)->s_rev_level == EXT3_GOOD_OLD_REV) ? \
EXT3_GOOD_OLD_INODE_SIZE : \
(s)->s_inode_size)
-@@ -108,6 +110,8 @@
+@@ -108,6 +110,7 @@
EXT3_GOOD_OLD_FIRST_INO : \
(s)->s_first_ino)
#endif
-+#define EXT3_ACLE_PER_BLOCK(s) (EXT3_BLOCK_SIZE(s) / sizeof (struct ext3_acl_entry))
+#define EXT3_ADDR_PER_BLOCK(s) (EXT3_BLOCK_SIZE(s) / sizeof (__u32))
/*