diff options
Diffstat (limited to 'sys-fs/aufs/files/aufs-lhash-2.6.22.patch')
-rw-r--r-- | sys-fs/aufs/files/aufs-lhash-2.6.22.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-fs/aufs/files/aufs-lhash-2.6.22.patch b/sys-fs/aufs/files/aufs-lhash-2.6.22.patch new file mode 100644 index 000000000..4618bfda2 --- /dev/null +++ b/sys-fs/aufs/files/aufs-lhash-2.6.22.patch @@ -0,0 +1,41 @@ +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.22/fs/namei.c 12 Jul 2007 02:55:19 -0000 1.1 ++++ linux-2.6.22/fs/namei.c 12 Jul 2007 03:00:50 -0000 1.3 +@@ -1280,7 +1280,7 @@ out: + * needs parent already locked. Doesn't follow mounts. + * SMP-safe. + */ +-static inline 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_len_kern(const char *, struct dentry *, int); + |