summaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-28 23:18:56 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-28 23:18:56 +0000
commit4d657aa39d5bcae60c2c11bf8fb66692ddd1c9e7 (patch)
tree30f3b08741a4d4b98b16bd99ea2757ff715d1c11 /fs/buffer.c
parenteed6b7c84cc33f229f6fecd884d9a22af5bec514 (diff)
Merge with 2.4.0-test5 final.
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index 8b5d19bda..dad4fbcfb 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -92,8 +92,6 @@ struct bh_free_head {
};
static struct bh_free_head free_list[NR_SIZES];
-kmem_cache_t *bh_cachep;
-
static int grow_buffers(int size);
static void __refile_buffer(struct buffer_head *);
@@ -2302,12 +2300,6 @@ void __init buffer_init(unsigned long mempages)
for(i = 0; i < NR_LIST; i++)
lru_list[i] = NULL;
- bh_cachep = kmem_cache_create("buffer_head",
- sizeof(struct buffer_head),
- 0,
- SLAB_HWCACHE_ALIGN, NULL, NULL);
- if(!bh_cachep)
- panic("Cannot create buffer head SLAB cache\n");
}