[Devel] [PATCH RHEL7 COMMIT] mm/shmem: unexport shmem_file_operations

Konstantin Khorenko khorenko at virtuozzo.com
Tue May 26 07:00:31 PDT 2015


The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-123.1.2.vz7.5.5
------>
commit 25d45a76a884735ac2530bfe4d027ddfaddd1a9b
Author: Vladimir Davydov <vdavydov at parallels.com>
Date:   Tue May 26 18:00:31 2015 +0400

    mm/shmem: unexport shmem_file_operations
    
    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 d09a230..d35bd1c 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -2730,7 +2730,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,



More information about the Devel mailing list