commit 90c0e10ac23ac0cb58fde3359f76fbdb9cbf7df9
Author: Josef "Jeff" Sipek <[EMAIL PROTECTED]>
Date:   Sun Apr 29 15:36:03 2007 -0400

    lookup_one_len_nd - lookup_one_len with nameidata argument
    
    This patch renames lookup_one_len to lookup_one_len_nd, and adds a nameidata
    argument. An inline function, lookup_one_len (which calls lookup_one_len_nd
    with nd == NULL) preserves original behavior.
    
    The following Unionfs patches depend on this one.
    
    Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]>

diff --git a/fs/namei.c b/fs/namei.c
index 73e2e66..dd809d7 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2806,7 +2806,7 @@ EXPORT_SYMBOL(follow_up);
 EXPORT_SYMBOL(get_write_access); /* binfmt_aout */
 EXPORT_SYMBOL(getname);
 EXPORT_SYMBOL(lock_rename);
-EXPORT_SYMBOL(lookup_one_len);
+EXPORT_SYMBOL(lookup_one_len_nd);
 EXPORT_SYMBOL(page_follow_link_light);
 EXPORT_SYMBOL(page_put_link);
 EXPORT_SYMBOL(page_readlink);
diff --git a/include/linux/namei.h b/include/linux/namei.h
index 4cb4f8d..63f5035 100644
--- a/include/linux/namei.h
+++ b/include/linux/namei.h
@@ -84,6 +84,12 @@ extern void release_open_intent(struct nameidata *);
 extern struct dentry *lookup_one_len(const char *, struct dentry *, int);
 extern struct dentry *lookup_one_noperm(const char *, struct dentry *);
 
+static inline struct dentry *lookup_one_len(const char *name,
+                       struct dentry *dir, int len)
+{
+       return lookup_one_len_nd(name, dir, len, NULL);
+}
+
 extern int follow_down(struct vfsmount **, struct dentry **);
 extern int follow_up(struct vfsmount **, struct dentry **);
 
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to