aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/namei.h6
-rw-r--r--include/linux/path.h12
2 files changed, 13 insertions, 5 deletions
diff --git a/include/linux/namei.h b/include/linux/namei.h
index 307b1b31d37f..1cd15dad2469 100644
--- a/include/linux/namei.h
+++ b/include/linux/namei.h
@@ -3,6 +3,7 @@
3 3
4#include <linux/dcache.h> 4#include <linux/dcache.h>
5#include <linux/linkage.h> 5#include <linux/linkage.h>
6#include <linux/path.h>
6 7
7struct vfsmount; 8struct vfsmount;
8 9
@@ -29,11 +30,6 @@ struct nameidata {
29 } intent; 30 } intent;
30}; 31};
31 32
32struct path {
33 struct vfsmount *mnt;
34 struct dentry *dentry;
35};
36
37/* 33/*
38 * Type of the last component on LOOKUP_PARENT 34 * Type of the last component on LOOKUP_PARENT
39 */ 35 */
diff --git a/include/linux/path.h b/include/linux/path.h
new file mode 100644
index 000000000000..cbebdc5c9a60
--- /dev/null
+++ b/include/linux/path.h
@@ -0,0 +1,12 @@
1#ifndef _LINUX_PATH_H
2#define _LINUX_PATH_H
3
4struct dentry;
5struct vfsmount;
6
7struct path {
8 struct vfsmount *mnt;
9 struct dentry *dentry;
10};
11
12#endif /* _LINUX_PATH_H */