Skip to contentSkip to conversation

fs/afs/file.c: make a struct static

PATCH New Adrian Bunk 1 participant 1 message May 1, 2005 Afs filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/afs/file.c: make a struct static

This patch makes a needlessly global struct static.

---

This patch was already sent on:
- 21 Apr 2005

fs/afs/file.c renamed from fs/afs/file.c.old +1 -1
@@ -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