Whamcloud - gitweb
- be more strict about what we accept from PtlEQGet in ptlrpc_check_event()
[fs/lustre-release.git] / lustre / ptlrpc / rpc.c
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  *
4  *  Copyright (C) 2002 Cluster File Systems, Inc.
5  *
6  *   This file is part of Lustre, http://www.lustre.org.
7  *
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.
11  *
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.
16  *
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.
20  *
21  */
22
23 #define EXPORT_SYMTAB
24
25 #include <linux/config.h>
26 #include <linux/module.h>
27 #include <linux/kernel.h>
28
29 #define DEBUG_SUBSYSTEM S_RPC
30
31 #include <linux/obd_support.h>
32 #include <linux/obd_class.h>
33 #include <linux/lustre_net.h>
34
35
36 extern int ptlrpc_init_portals(void);
37 extern void ptlrpc_exit_portals(void);
38
39
40 static int __init ptlrpc_init(void)
41 {
42         return ptlrpc_init_portals();
43 }
44
45 static void __exit ptlrpc_exit(void)
46 {
47         ptlrpc_exit_portals();
48
49         return;
50 }
51
52 MODULE_AUTHOR("Peter J. Braam <braam@clusterfs.com>");
53 MODULE_DESCRIPTION("Lustre Request Processor v1.0");
54 MODULE_LICENSE("GPL"); 
55
56 module_init(ptlrpc_init);
57 module_exit(ptlrpc_exit);