From 7ef751c5711d164a7f80aa92fa0dc00ddb18e166 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 4 Jul 2002 08:30:15 -0700 Subject: [PATCH] Remove ext2's buffer_head cache Remove ext2's open-coded bitmap LRUs. Core kernel does this for it now. --- include/linux/ext2_fs_sb.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'include/linux/ext2_fs_sb.h') diff --git a/include/linux/ext2_fs_sb.h b/include/linux/ext2_fs_sb.h index 47f53158e755..070f5b630581 100644 --- a/include/linux/ext2_fs_sb.h +++ b/include/linux/ext2_fs_sb.h @@ -16,14 +16,6 @@ #ifndef _LINUX_EXT2_FS_SB #define _LINUX_EXT2_FS_SB -/* - * The following is not needed anymore since the descriptors buffer - * heads are now dynamically allocated - */ -/* #define EXT2_MAX_GROUP_DESC 8 */ - -#define EXT2_MAX_GROUP_LOADED 8 - /* * second extended-fs super-block data in memory */ @@ -41,12 +33,6 @@ struct ext2_sb_info { struct buffer_head * s_sbh; /* Buffer containing the super block */ struct ext2_super_block * s_es; /* Pointer to the super block in the buffer */ struct buffer_head ** s_group_desc; - unsigned short s_loaded_inode_bitmaps; - unsigned short s_loaded_block_bitmaps; - unsigned long s_inode_bitmap_number[EXT2_MAX_GROUP_LOADED]; - struct buffer_head * s_inode_bitmap[EXT2_MAX_GROUP_LOADED]; - unsigned long s_block_bitmap_number[EXT2_MAX_GROUP_LOADED]; - struct buffer_head * s_block_bitmap[EXT2_MAX_GROUP_LOADED]; unsigned long s_mount_opt; uid_t s_resuid; gid_t s_resgid; -- cgit v1.2.3