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.
25 #include <linux/config.h>
26 #include <linux/module.h>
27 #include <linux/kernel.h>
29 #define DEBUG_SUBSYSTEM S_RPC
31 #include <linux/obd_support.h>
32 #include <linux/obd_class.h>
33 #include <linux/lustre_net.h>
36 extern int ptlrpc_init_portals(void);
37 extern void ptlrpc_exit_portals(void);
40 static int __init ptlrpc_init(void)
42 return ptlrpc_init_portals();
45 static void __exit ptlrpc_exit(void)
47 ptlrpc_exit_portals();
52 MODULE_AUTHOR("Peter J. Braam <braam@clusterfs.com>");
53 MODULE_DESCRIPTION("Lustre Request Processor v1.0");
54 MODULE_LICENSE("GPL");
56 module_init(ptlrpc_init);
57 module_exit(ptlrpc_exit);