This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / linux / namei.h
index 4117cd9..3d51a4a 100644 (file)
@@ -10,12 +10,15 @@ struct open_intent {
        int     create_mode;
 };
 
+enum { MAX_NESTED_LINKS = 5 };
+
 struct nameidata {
        struct dentry   *dentry;
        struct vfsmount *mnt;
        struct qstr     last;
        unsigned int    flags;
        int             last_type;
+       char *saved_names[MAX_NESTED_LINKS + 1];
 
        /* Intent data */
        union {
@@ -41,6 +44,8 @@ enum {LAST_NORM, LAST_ROOT, LAST_DOT, LAST_DOTDOT, LAST_BIND};
 #define LOOKUP_CONTINUE                 4
 #define LOOKUP_PARENT          16
 #define LOOKUP_NOALT           32
+#define LOOKUP_ATOMIC          64
+
 /*
  * Intent data
  */