// (c) 2010 Thomas Schoebel-Theuer / 1&1 Internet AG #include #include #include #define _STRATEGY #include "mars.h" ////////////////////////////////////////////////////////////// // object stuff const struct generic_object_type mars_buf_type = { .object_type_name = "mars_buf", .default_size = sizeof(struct mars_buf_object), .brick_obj_nr = BRICK_OBJ_MARS_BUF, }; EXPORT_SYMBOL_GPL(mars_buf_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 "); MODULE_LICENSE("GPL"); module_init(init_mars); module_exit(exit_mars);