From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> Signed-off-by: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> --- fs/ubifs/ubifs.h | 6 +----- include/linux/path.h | 12 ++++++++++++ 2 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 include/linux/path.h diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index 8f362ed..cfd37f2 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h @@ -39,6 +39,7 @@ #include <linux/stat.h> #include <linux/dcache.h> #include <linux/mount.h> +#include <linux/path.h> #include <linux/ctype.h> #include <linux/math64.h> #include <linux/rbtree.h> @@ -92,11 +93,6 @@ struct file_system_type { struct list_head fs_supers; }; -struct path { - struct vfsmount *mnt; - struct dentry *dentry; -}; - struct file { struct path f_path; #define f_dentry f_path.dentry diff --git a/include/linux/path.h b/include/linux/path.h new file mode 100644 index 0000000..cbebdc5 --- /dev/null +++ b/include/linux/path.h @@ -0,0 +1,12 @@ +#ifndef _LINUX_PATH_H +#define _LINUX_PATH_H + +struct dentry; +struct vfsmount; + +struct path { + struct vfsmount *mnt; + struct dentry *dentry; +}; + +#endif /* _LINUX_PATH_H */ -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox