Skip to contentSkip to conversation

don't export shmem_file_setup

PATCH In review Christoph Hellwig 2 participants 2 messages Sep 7, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 don't export shmem_file_setup

mm/shmem.c +0 -2
@@ -2104,5 +2104,3 @@
 	vma->vm_ops = &shmem_vm_ops;
 	return 0;
 }
-
-EXPORT_SYMBOL(shmem_file_setup);
mm/tiny-shmem.c +0 -2
@@ -120,5 +120,3 @@
 {
 	return 0;
 }
-
-EXPORT_SYMBOL(shmem_file_setup);
#1 lore raw

Review

Quoted 2 lines · Christoph Hellwig
(quoted diff) +0 -2
-
-EXPORT_SYMBOL(shmem_file_setup);

Agreed. It's global for SysV IPC, but that's in or out, never modular.

Hugh