1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
4 * Copyright (C) 2001 Cluster File Systems, Inc.
6 * This code is issued under the GNU General Public License.
7 * See the file COPYING in this distribution
15 #include <linux/lustre_idl.h>
16 #include <linux/lustre_dlm.h>
17 #include <linux/obd_filter.h>
19 struct lov_export_data {
20 struct list_head led_open_head;
25 struct list_head exp_obd_chain;
26 struct list_head exp_conn_chain;
27 struct obd_device *exp_obd;
28 struct ptlrpc_connection *exp_connection;
29 struct ldlm_export_data exp_ldlm_data;
31 struct mds_export_data eu_mds_data;
32 struct filter_export_data eu_filter_data;
33 struct lov_export_data eu_lov_data;
37 #define exp_mds_data u.eu_mds_data
38 #define exp_lov_data u.eu_lov_data
39 #define exp_filter_data u.eu_filter_data
41 extern struct obd_export *class_conn2export(struct lustre_handle *conn);
42 extern struct obd_device *class_conn2obd(struct lustre_handle *conn);
43 #endif /* __KERNEL__ */
45 #endif /* __EXPORT_H */