Whamcloud - gitweb
Replace all of the "char[37]" uses with obd_uuid_t.
[fs/lustre-release.git] / lustre / include / linux / lustre_import.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  *
4  * Copyright (C) 2001  Cluster File Systems, Inc.
5  *
6  * This code is issued under the GNU General Public License.
7  * See the file COPYING in this distribution
8  */
9
10 #ifndef __IMPORT_H
11 #define __IMPORT_H
12
13 #ifdef __KERNEL__
14
15 #include <linux/lustre_idl.h>
16 struct obd_import {
17         struct ptlrpc_connection *imp_connection;
18         struct ptlrpc_client     *imp_client;
19         struct lustre_handle      imp_handle;
20         struct list_head          imp_chain;
21         struct obd_device        *imp_obd;
22         /* XXX need a UUID here, I think
23          * XXX what about client_obd.cl_target_uuid?
24          */
25 };
26
27 extern struct obd_import *class_conn2cliimp(struct lustre_handle *);
28 extern struct obd_import *class_conn2ldlmimp(struct lustre_handle *);
29
30 #endif /* __KERNEL__ */
31
32 #endif /* __IMPORT_H */