[PATCH 04/13] Move struct path into its own header

2007-10-22 Thread Bharata B Rao
From: Jan Blunck <[EMAIL PROTECTED]>

Move the definition of struct path into its own header file for further
patches.

Signed-off-by: Jan Blunck <[EMAIL PROTECTED]>
Signed-off-by: Andreas Gruenbacher <[EMAIL PROTECTED]>
Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]>
Acked-by: Christoph Hellwig <[EMAIL PROTECTED]>
---
 include/linux/namei.h |6 +-
 include/linux/path.h  |   12 
 2 files changed, 13 insertions(+), 5 deletions(-)

--- a/include/linux/namei.h
+++ b/include/linux/namei.h
@@ -4,6 +4,7 @@
 #include 
 #include 
 #include 
+#include 
 
 struct vfsmount;
 
@@ -30,11 +31,6 @@ struct nameidata {
} intent;
 };
 
-struct path {
-   struct vfsmount *mnt;
-   struct dentry *dentry;
-};
-
 /*
  * Type of the last component on LOOKUP_PARENT
  */
--- /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 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 04/13] Move struct path into its own header

2007-10-22 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED]

Move the definition of struct path into its own header file for further
patches.

Signed-off-by: Jan Blunck [EMAIL PROTECTED]
Signed-off-by: Andreas Gruenbacher [EMAIL PROTECTED]
Signed-off-by: Bharata B Rao [EMAIL PROTECTED]
Acked-by: Christoph Hellwig [EMAIL PROTECTED]
---
 include/linux/namei.h |6 +-
 include/linux/path.h  |   12 
 2 files changed, 13 insertions(+), 5 deletions(-)

--- a/include/linux/namei.h
+++ b/include/linux/namei.h
@@ -4,6 +4,7 @@
 #include linux/dcache.h
 #include linux/linkage.h
 #include linux/mount.h
+#include linux/path.h
 
 struct vfsmount;
 
@@ -30,11 +31,6 @@ struct nameidata {
} intent;
 };
 
-struct path {
-   struct vfsmount *mnt;
-   struct dentry *dentry;
-};
-
 /*
  * Type of the last component on LOOKUP_PARENT
  */
--- /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 */
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/