Re: [2.6 patch] make ecryptfs_version_str_map[] static

From: Michael Halcrow
Date: Mon Nov 20 2006 - 11:13:59 EST


On Mon, Nov 20, 2006 at 03:24:06AM +0100, Adrian Bunk wrote:
> This patch makes the needlessly global ecryptfs_version_str_map[]
> static.
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

Acked-by: Michael Halcrow <mhalcrow@xxxxxxxxxx>

> --- linux-2.6.19-rc5-mm2/fs/ecryptfs/main.c.old 2006-11-20 01:27:17.000000000 +0100
> +++ linux-2.6.19-rc5-mm2/fs/ecryptfs/main.c 2006-11-20 01:27:25.000000000 +0100
> @@ -692,7 +692,7 @@
>
> static struct ecryptfs_attribute sysfs_attr_version = __ATTR_RO(version);
>
> -struct ecryptfs_version_str_map_elem {
> +static struct ecryptfs_version_str_map_elem {
> u32 flag;
> char *str;
> } ecryptfs_version_str_map[] = {
>
-
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/