mars/mars_generic.c
Thomas Schoebel-Theuer 24e936086a import mars-24.tgz
2013-01-08 15:53:54 +01:00

45 lines
943 B
C

// (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"
//////////////////////////////////////////////////////////////
// object stuff
const struct generic_object_type mars_ref_type = {
.object_type_name = "mars_ref",
.default_size = sizeof(struct mars_ref_object),
.brick_obj_nr = BRICK_OBJ_MARS_REF,
};
EXPORT_SYMBOL_GPL(mars_ref_type);
//////////////////////////////////////////////////////////////
// brick stuff
/////////////////////////////////////////////////////////////////////
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);