mars/mars_generic.c

45 lines
923 B
C
Raw Normal View History

2010-06-14 14:27:40 +00:00
// (c) 2010 Thomas Schoebel-Theuer / 1&1 Internet AG
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/string.h>
#define _STRATEGY
#include "mars.h"
//////////////////////////////////////////////////////////////
2010-06-20 18:55:34 +00:00
// object stuff
2010-06-14 14:27:40 +00:00
2010-12-15 12:13:18 +00:00
const struct generic_object_type mref_type = {
.object_type_name = "mref",
.default_size = sizeof(struct mref_object),
.brick_obj_nr = BRICK_OBJ_MREF,
2010-07-05 15:56:58 +00:00
};
2010-12-15 12:13:18 +00:00
EXPORT_SYMBOL_GPL(mref_type);
2010-07-05 15:56:58 +00:00
2010-06-14 14:27:40 +00:00
//////////////////////////////////////////////////////////////
2010-06-20 18:55:34 +00:00
// brick stuff
2010-07-30 11:50:20 +00:00
2010-06-14 14:27:40 +00:00
/////////////////////////////////////////////////////////////////////
static int __init init_mars(void)
{
printk(MARS_INFO "init_mars()\n");
return 0;
}
static void __exit exit_mars(void)
{
printk(MARS_INFO "exit_mars()\n");
}
MODULE_DESCRIPTION("MARS block storage");
MODULE_AUTHOR("Thomas Schoebel-Theuer <tst@1und1.de>");
MODULE_LICENSE("GPL");
module_init(init_mars);
module_exit(exit_mars);