lkml.org 
[lkml]   [2005]   [Apr]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateThu, 21 Apr 2005 06:35:21 +0200
FromAdrian Bunk <>
Subject[-mm patch] fs/afs/file.c: make a struct static
This patch makes a needlessly global struct static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.12-rc2-mm3-full/fs/afs/file.c.old	2005-04-20 23:01:48.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/fs/afs/file.c	2005-04-20 23:02:00.000000000 +0200
@@ -62,7 +62,7 @@
 	.invalidatepage	= afs_file_invalidatepage,
 };
 
-struct vm_operations_struct afs_fs_vm_operations = {
+static struct vm_operations_struct afs_fs_vm_operations = {
 	.nopage		= filemap_nopage,
 	.populate	= filemap_populate,
 #ifdef CONFIG_AFS_FSCACHE
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-21 04:40    [W:0.129 / U:0.180 seconds]
©2003-2008 Jasper Spaans