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/module.h>
27 #define DEBUG_SUBSYSTEM S_RPC
29 #include <linux/lustre_net.h>
31 extern int ptlrpc_init_portals(void);
32 extern void ptlrpc_exit_portals(void);
35 static int __init ptlrpc_init(void)
37 ptlrpc_init_connection();
38 return ptlrpc_init_portals();
41 static void __exit ptlrpc_exit(void)
43 ptlrpc_exit_portals();
44 ptlrpc_cleanup_connection();
47 MODULE_AUTHOR("Peter J. Braam <braam@clusterfs.com>");
48 MODULE_DESCRIPTION("Lustre Request Processor v1.0");
49 MODULE_LICENSE("GPL");
51 module_init(ptlrpc_init);
52 module_exit(ptlrpc_exit);