Whamcloud - gitweb
remove the lustre book-building bits from Makefile.am, in preparation for
[fs/lustre-release.git] / lustre / include / linux / lvfs_linux.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  */ 
4 #ifndef __LVFS_LINUX_H__
5 #define __LVFS_LINUX_H__
6
7 #include <linux/kernel.h>
8 #include <linux/module.h>
9 #include <linux/fs.h>
10 #include <linux/sched.h>
11
12 #include <linux/lvfs.h>
13
14 #define l_file file
15 #define l_dentry dentry
16 #define l_inode inode
17
18 #define l_filp_open filp_open
19
20 struct obd_run_ctxt;
21 struct l_file *l_dentry_open(struct obd_run_ctxt *, struct l_dentry *,
22                              int flags);
23
24 struct l_linux_dirent {
25         struct list_head lld_list;
26         ino_t           lld_ino;
27         unsigned long   lld_off;
28         char            lld_name[LL_FID_NAMELEN];
29 };
30 struct l_readdir_callback {
31         struct l_linux_dirent *lrc_dirent;
32         struct list_head      *lrc_list;
33 };
34
35 #endif