patch-2.4.0-test7 linux/fs/block_dev.c
Next file: linux/fs/buffer.c
Previous file: linux/fs/bfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Fri Aug 11 15:18:00 2000
- Orig file:
v2.4.0-test6/linux/fs/block_dev.c
- Orig date:
Wed Aug 9 19:19:51 2000
diff -u --recursive --new-file v2.4.0-test6/linux/fs/block_dev.c linux/fs/block_dev.c
@@ -5,6 +5,7 @@
*/
#include <linux/config.h>
+#include <linux/init.h>
#include <linux/mm.h>
#include <linux/locks.h>
#include <linux/fcntl.h>
@@ -347,7 +348,7 @@
}
}
-void bdev_init(void)
+void __init bdev_init(void)
{
int i;
struct list_head *head = bdev_hashtable;
@@ -364,7 +365,7 @@
0, SLAB_HWCACHE_ALIGN, init_once,
NULL);
if (!bdev_cachep)
- panic("cannot create bdev slab cache");
+ panic("Cannot create bdev_cache SLAB cache");
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)