Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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
 */

include/linux/path.h

0 → 100644
+12 −0
Original line number Diff line number Diff line
#ifndef _LINUX_PATH_H
#define _LINUX_PATH_H

struct dentry;
struct vfsmount;

struct path {
	struct vfsmount *mnt;
	struct dentry *dentry;
};

#endif  /* _LINUX_PATH_H */