[-mm patch] __deprecated_for_modules the lookup_hash() prototype

From: Adrian Bunk
Date: Mon Nov 07 2005 - 23:36:16 EST


On Sun, Nov 06, 2005 at 06:24:47PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.14-rc5-mm1:
>...
> +sanitize-lookup_hash-prototype.patch
>
> Various fixes, cleanups and infrastructure work in filesystems.
>...

This patch __deprecated_for_modules the lookup_hash() prototype.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.14-mm1-full/include/linux/namei.h.old 2005-11-08 05:18:29.000000000 +0100
+++ linux-2.6.14-mm1-full/include/linux/namei.h 2005-11-08 05:18:53.000000000 +0100
@@ -74,7 +74,7 @@
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 **);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/