summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-01-27 12:53:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-01 09:16:13 +0100
commitd20f839037acc9cd0e6c4c3fdfa3b66f695a88a2 (patch)
tree7e49699955201f4745f551d2f4811655e643efb4 /fs
parent3243c0d236669b9d4861151dd47bc753f47b669f (diff)
downloadbarebox-d20f839037acc9cd0e6c4c3fdfa3b66f695a88a2.tar.gz
barebox-d20f839037acc9cd0e6c4c3fdfa3b66f695a88a2.tar.xz
fs: ubifs: move path definition to include/linux/path.h
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/ubifs/ubifs.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index 8f362edf2e..cfd37f2062 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