1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
4 * Copyright (c) 2002 Cluster File Systems, Inc.
6 * This file is part of Lustre, http://www.lustre.org.
8 * Lustre is free software; you can redistribute it and/or
9 * modify it under the terms of version 2 of the GNU General Public
10 * License as published by the Free Software Foundation.
12 * Lustre is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Lustre; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #include <linux/module.h>
23 #include <linux/init.h>
24 #include <linux/major.h>
25 #include <linux/smp.h>
27 #define DEBUG_SUBSYSTEM S_PTLBD
29 #include <linux/lustre_ha.h>
30 #include <linux/obd_support.h>
32 #include <linux/obd_ptlbd.h>
34 static int __init ptlbd_init(void)
39 ret = ptlbd_cl_init();
43 ret = ptlbd_sv_init();
47 ret = ptlbd_blk_init();
60 static void /*__exit*/ ptlbd_exit(void)
69 module_init(ptlbd_init);
70 module_exit(ptlbd_exit);
71 MODULE_LICENSE("GPL");