block: fix locking for struct block_device size updates
[linux-2.6-microblaze.git] / include / linux / namei.h
index 0dd980d..a4bb992 100644 (file)
@@ -15,7 +15,7 @@ enum { MAX_NESTED_LINKS = 8 };
 /*
  * Type of the last component on LOOKUP_PARENT
  */
-enum {LAST_NORM, LAST_ROOT, LAST_DOT, LAST_DOTDOT, LAST_BIND};
+enum {LAST_NORM, LAST_ROOT, LAST_DOT, LAST_DOTDOT};
 
 /* pathwalk mode */
 #define LOOKUP_FOLLOW          0x0001  /* follow links at the end */
@@ -23,6 +23,7 @@ enum {LAST_NORM, LAST_ROOT, LAST_DOT, LAST_DOTDOT, LAST_BIND};
 #define LOOKUP_AUTOMOUNT       0x0004  /* force terminal automount */
 #define LOOKUP_EMPTY           0x4000  /* accept empty path [user_... only] */
 #define LOOKUP_DOWN            0x8000  /* follow mounts in the starting point */
+#define LOOKUP_MOUNTPOINT      0x0080  /* follow mounts in the end */
 
 #define LOOKUP_REVAL           0x0020  /* tell ->d_revalidate() to trust no cache */
 #define LOOKUP_RCU             0x0040  /* RCU pathwalk mode; semi-internal */
@@ -64,7 +65,6 @@ extern struct dentry *kern_path_create(int, const char *, struct path *, unsigne
 extern struct dentry *user_path_create(int, const char __user *, struct path *, unsigned int);
 extern void done_path_create(struct path *, struct dentry *);
 extern struct dentry *kern_path_locked(const char *, struct path *);
-extern int kern_path_mountpoint(int, const char *, struct path *, unsigned int);
 
 extern struct dentry *try_lookup_one_len(const char *, struct dentry *, int);
 extern struct dentry *lookup_one_len(const char *, struct dentry *, int);