public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [-mm patch] fs/afs/file.c: make a struct static
@ 2005-05-01 15:42 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-05-01 15:42 UTC (permalink / raw)
  To: Andrew Morton; +Cc: David Howells, linux-kernel

This patch makes a needlessly global struct static.

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

---

This patch was already sent on:
- 21 Apr 2005

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


^ permalink raw reply	[flat|nested] 2+ messages in thread
* [-mm patch] fs/afs/file.c: make a struct static
@ 2005-04-21  4:35 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-04-21  4:35 UTC (permalink / raw)
  To: David Howells; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-01 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-01 15:42 [-mm patch] fs/afs/file.c: make a struct static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-04-21  4:35 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox