aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/path.h
diff options
context:
space:
mode:
authorJan Blunck <jblunck@suse.de>2008-02-14 19:34:31 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-14 21:13:32 -0800
commitc5e725f33b733a77de622e91b6ba5645fcf070be (patch)
tree628b2cd365e85b5e6ae3bb8417790cdcd2acf516 /include/linux/path.h
parentRemove path_release_on_umount() (diff)
downloadlinux-dev-c5e725f33b733a77de622e91b6ba5645fcf070be.tar.xz
linux-dev-c5e725f33b733a77de622e91b6ba5645fcf070be.zip
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/path.h')
-rw-r--r--include/linux/path.h12
1 files changed, 12 insertions, 0 deletions
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 @@
+#ifndef _LINUX_PATH_H
+#define _LINUX_PATH_H
+
+struct dentry;
+struct vfsmount;
+
+struct path {
+ struct vfsmount *mnt;
+ struct dentry *dentry;
+};
+
+#endif /* _LINUX_PATH_H */