aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/namei.h
diff options
context:
space:
mode:
authorJan Blunck <jblunck@suse.de>2008-02-14 22:34:31 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-15 00:13:32 -0500
commitc5e725f33b733a77de622e91b6ba5645fcf070be (patch)
tree628b2cd365e85b5e6ae3bb8417790cdcd2acf516 /include/linux/namei.h
parent429731b1553bacf9a331c260c317a28aaa878edb (diff)
Move struct path into its own header
Move the definition of struct path into its own header file for further patches. Signed-off-by: Jan Blunck <jblunck@suse.de> Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/namei.h')
-rw-r--r--include/linux/namei.h6
1 files changed, 1 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 */