* [2.6 patch] make ecryptfs_version_str_map[] static
@ 2006-11-20 2:24 Adrian Bunk
2006-11-20 16:13 ` Michael Halcrow
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2006-11-20 2:24 UTC (permalink / raw)
To: mhalcrow, phillip; +Cc: ecryptfs-devel, linux-kernel
This patch makes the needlessly global ecryptfs_version_str_map[]
static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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[] = {
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] make ecryptfs_version_str_map[] static
2006-11-20 2:24 [2.6 patch] make ecryptfs_version_str_map[] static Adrian Bunk
@ 2006-11-20 16:13 ` Michael Halcrow
0 siblings, 0 replies; 2+ messages in thread
From: Michael Halcrow @ 2006-11-20 16:13 UTC (permalink / raw)
To: Adrian Bunk; +Cc: phillip, ecryptfs-devel, linux-kernel
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@stusta.de>
Acked-by: Michael Halcrow <mhalcrow@us.ibm.com>
> --- 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[] = {
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-20 16:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-20 2:24 [2.6 patch] make ecryptfs_version_str_map[] static Adrian Bunk
2006-11-20 16:13 ` Michael Halcrow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox