1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
9 #error Do not #include this file directly. #include <obd.h> instead
13 # include <linux/fs.h>
14 # include <linux/list.h>
15 # include <linux/sched.h> /* for struct task_struct, for current.h */
16 # include <asm/current.h> /* for smp_lock.h */
17 # include <linux/smp_lock.h>
18 # include <linux/proc_fs.h>
19 # include <linux/mount.h>
22 typedef spinlock_t client_obd_lock_t;
24 static inline void client_obd_list_lock_init(client_obd_lock_t *lock)
29 static inline void client_obd_list_lock_done(client_obd_lock_t *lock)
32 static inline void client_obd_list_lock(client_obd_lock_t *lock)
37 static inline void client_obd_list_unlock(client_obd_lock_t *lock)
42 #endif /* __LINUX_OBD_H */