Commit c5e725f3 authored by Jan Blunck's avatar Jan Blunck Committed by Linus Torvalds

Move struct path into its own header

Move the definition of struct path into its own header file for further
patches.
Signed-off-by: default avatarJan Blunck <jblunck@suse.de>
Signed-off-by: default avatarAndreas Gruenbacher <agruen@suse.de>
Acked-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 429731b1
......@@ -3,6 +3,7 @@
#include <linux/dcache.h>
#include <linux/linkage.h>
#include <linux/path.h>
struct vfsmount;
......@@ -29,11 +30,6 @@ struct nameidata {
} intent;
};
struct path {
struct vfsmount *mnt;
struct dentry *dentry;
};
/*
* Type of the last component on LOOKUP_PARENT
*/
......
#ifndef _LINUX_PATH_H
#define _LINUX_PATH_H
struct dentry;
struct vfsmount;
struct path {
struct vfsmount *mnt;
struct dentry *dentry;
};
#endif /* _LINUX_PATH_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment