mirror of
https://github.com/schoebel/mars
synced 2024-12-15 11:15:03 +00:00
45 lines
943 B
C
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);
|