1 #ifndef __LVFS_LINUX_H__
2 #define __LVFS_LINUX_H__
4 #include <linux/kernel.h>
5 #include <linux/module.h>
7 #include <linux/sched.h>
10 #include <linux/lvfs.h>
11 /* we have made EXT3_IOC_SETFLAGS a Lustre constant */
12 #include <linux/ext3_fs.h>
15 #define l_dentry dentry
18 #define l_filp_open filp_open
21 struct l_file *l_dentry_open(struct obd_run_ctxt *, struct l_dentry *,
24 struct l_linux_dirent {
27 unsigned short d_reclen;
31 struct l_readdir_callback {
32 struct l_linux_dirent *current_dir;
33 struct l_linux_dirent *previous;