Index: linux-2.6.22/fs/namei.c =================================================================== RCS file: /ext1/sysadm/transparent/repository/linux-2.6.22/fs/namei.c,v retrieving revision 1.1 retrieving revision 1.3 diff -u -p -r1.1 -r1.3 --- linux-2.6.24/fs/namei.c 12 Jul 2007 02:55:19 -0000 1.1 +++ linux-2.6.24/fs/namei.c 12 Jul 2007 03:00:50 -0000 1.3 @@ -1289,8 +1289,8 @@ return err; } -static struct dentry *__lookup_hash(struct qstr *name, - struct dentry *base, struct nameidata *nd) +struct dentry * __lookup_hash(struct qstr *name, + struct dentry *base, struct nameidata *nd) { struct dentry *dentry; struct inode *inode; @@ -2766,6 +2766,7 @@ EXPORT_SYMBOL(follow_up); EXPORT_SYMBOL(get_write_access); /* binfmt_aout */ EXPORT_SYMBOL(getname); EXPORT_SYMBOL(lock_rename); +EXPORT_SYMBOL(__lookup_hash); EXPORT_SYMBOL(lookup_one_len); EXPORT_SYMBOL(page_follow_link_light); EXPORT_SYMBOL(page_put_link); Index: linux-2.6.22/include/linux/namei.h =================================================================== RCS file: /ext1/sysadm/transparent/repository/linux-2.6.22/include/linux/namei.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- linux-2.6.22/include/linux/namei.h 12 Jul 2007 02:55:19 -0000 1.1 +++ linux-2.6.22/include/linux/namei.h 12 Jul 2007 02:55:20 -0000 1.2 @@ -81,6 +81,7 @@ extern struct file *lookup_instantiate_f extern struct file *nameidata_to_filp(struct nameidata *nd, int flags); extern void release_open_intent(struct nameidata *); +struct dentry * __lookup_hash(struct qstr *name, struct dentry * base, struct nameidata *nd); extern struct dentry *lookup_one_len(const char *, struct dentry *, int); extern struct dentry *lookup_one_noperm(const char *, struct dentry *);