[Devel] [PATCH rh7] shmem: unexport shmem_file_operations

Vladimir Davydov vdavydov at parallels.com
Thu May 21 05:10:09 PDT 2015


It is exported in RH6, becasue it is required by CPT. No need to export
it in RH7.

Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
---
 mm/shmem.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/mm/shmem.c b/mm/shmem.c
index a6b3e309b9cc..97dbd4dcf348 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -2728,7 +2728,6 @@ static const struct file_operations shmem_file_operations = {
 	.fallocate	= shmem_fallocate,
 #endif
 };
-EXPORT_SYMBOL(shmem_file_operations);
 
 static const struct inode_operations shmem_inode_operations = {
 	.setattr	= shmem_setattr,
-- 
1.7.10.4




More information about the Devel mailing list