From: Adrian Bunk Date: Tue, 10 Jan 2006 04:52:03 +0000 (-0800) Subject: [PATCH] __deprecated_for_modules the lookup_hash() prototype X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bdff071dbf911bf5d1dcaedfaafebb549d2fd969;p=mv-sheeva.git [PATCH] __deprecated_for_modules the lookup_hash() prototype This patch __deprecated_for_modules the lookup_hash() prototype. Signed-off-by: Adrian Bunk Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/namei.h b/include/linux/namei.h index 455660eafba..b699e427c00 100644 --- a/include/linux/namei.h +++ b/include/linux/namei.h @@ -74,7 +74,7 @@ extern struct file *nameidata_to_filp(struct nameidata *nd, int flags); extern void release_open_intent(struct nameidata *); extern struct dentry * lookup_one_len(const char *, struct dentry *, int); -extern struct dentry * lookup_hash(struct nameidata *); +extern __deprecated_for_modules struct dentry * lookup_hash(struct nameidata *); extern int follow_down(struct vfsmount **, struct dentry **); extern int follow_up(struct vfsmount **, struct dentry **);