|
@@ -17,6 +17,8 @@
|
|
|
#include <linux/buffer_head.h>
|
|
|
#include <linux/mutex.h>
|
|
|
|
|
|
+#include "blk.h"
|
|
|
+
|
|
|
static DEFINE_MUTEX(block_class_lock);
|
|
|
#ifndef CONFIG_SYSFS_DEPRECATED
|
|
|
struct kobject *block_depr;
|
|
@@ -346,8 +348,6 @@ const struct seq_operations partitions_op = {
|
|
|
#endif
|
|
|
|
|
|
|
|
|
-extern int blk_dev_init(void);
|
|
|
-
|
|
|
static struct kobject *base_probe(dev_t devt, int *part, void *data)
|
|
|
{
|
|
|
if (request_module("block-major-%d-%d", MAJOR(devt), MINOR(devt)) > 0)
|