Re: [2.6 patch] fs/namei.c: EXPORT_UNUSED_SYMBOL

From: Christoph Hellwig
Date: Fri Jun 30 2006 - 14:06:55 EST


On Fri, Jun 30, 2006 at 01:33:09PM +0200, Adrian Bunk wrote:
> This patch marks an unused export as EXPORT_UNUSED_SYMBOL.
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
>
> --- linux-2.6.17-mm4-full/fs/namei.c.old 2006-06-30 04:01:55.000000000 +0200
> +++ linux-2.6.17-mm4-full/fs/namei.c 2006-06-30 04:02:47.000000000 +0200
> @@ -2785,7 +2785,7 @@
> .put_link = page_put_link,
> };
>
> -EXPORT_SYMBOL(__user_walk);
> +EXPORT_UNUSED_SYMBOL(__user_walk); /* June 2006 */

This can just go away ASAP. People who need it can just __user_walk_fd
with AT_FDCWD as dfd argument. While you're at it please kill the whole
function, not just the export.

-
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/