Skip to content
Snippets Groups Projects
Commit c5e725f3 authored by Jan Blunck's avatar Jan Blunck Committed by Linus Torvalds
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <linux/dcache.h> #include <linux/dcache.h>
#include <linux/linkage.h> #include <linux/linkage.h>
#include <linux/path.h>
struct vfsmount; struct vfsmount;
...@@ -29,11 +30,6 @@ struct nameidata { ...@@ -29,11 +30,6 @@ struct nameidata {
} intent; } intent;
}; };
struct path {
struct vfsmount *mnt;
struct dentry *dentry;
};
/* /*
* Type of the last component on LOOKUP_PARENT * 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 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment