#ifndef __LVFS_LINUX_H__ #define __LVFS_LINUX_H__ #include #include #include #include #include #include /* we have made EXT3_IOC_SETFLAGS a Lustre constant */ #include #define l_file file #define l_dentry dentry #define l_inode inode #define l_filp_open filp_open struct obd_run_ctxt; struct l_file *l_dentry_open(struct obd_run_ctxt *, struct l_dentry *, int flags); struct l_linux_dirent { ino_t d_ino; unsigned long d_off; unsigned short d_reclen; char d_name[1]; }; struct l_readdir_callback { struct l_linux_dirent *current_dir; struct l_linux_dirent *previous; int count; int error; }; #endif