1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
4 * Copyright (C) 2001, 2002 Cluster File Systems, Inc.
6 * This code is issued under the GNU General Public License.
7 * See the file COPYING in this distribution
10 #ifndef __DARWIN_OBD_H
11 #define __DARWIN_OBD_H
14 #error Do not #include this file directly. #include <obd.h> instead
17 #include <libcfs/libcfs.h>
19 typedef struct semaphore client_obd_lock_t;
21 static inline void client_obd_list_lock_init(client_obd_lock_t *lock)
26 static inline void client_obd_list_lock_done(client_obd_lock_t *lock)
29 static inline void client_obd_list_lock(client_obd_lock_t *lock)
34 static inline void client_obd_list_unlock(client_obd_lock_t *lock)
39 #endif /* __DARWIN_OBD_H */