[Devel] [PATCH RHEL7 COMMIT] fs/ext4: remove generic_file_remap_pages

Konstantin Khorenko khorenko at virtuozzo.com
Wed Nov 9 06:44:18 PST 2016


The commit is pushed to "branch-rh7-3.10.0-493.vz7.25.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-493.el7
------>
commit 572d0298ce5ad4e636a055c47aefb63127d51628
Author: Dmitry Safonov <dsafonov at virtuozzo.com>
Date:   Wed Nov 9 18:44:18 2016 +0400

    fs/ext4: remove generic_file_remap_pages
    
    This helper was removed by ms commit d83a08db5ba6 ("mm: drop
    vm_ops->remap_pages and generic_file_remap_pages() stub").
    
    The helper was used for remap_file_pages syscall, which from ~v4.0
    (and in .493 kernel) uses emulation by inserting multiple VMAs,
    see ms commit c8d78c1823f4 ("mm: replace remap_file_pages() syscall
    with emulation").
    
    To be squashed into commit 53dba9e212cc3f440acc60a8d333df3967931937
    ("Initial patch commit + compilation fixes").
    
    https://jira.sw.ru/browse/PSBM-54928
    
    Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 fs/ext4/file.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/ext4/file.c b/fs/ext4/file.c
index 83d0be6..37a877f 100644
--- a/fs/ext4/file.c
+++ b/fs/ext4/file.c
@@ -309,7 +309,6 @@ static const struct vm_operations_struct ext4_dax_vm_ops = {
 	.pmd_fault	= ext4_dax_pmd_fault,
 	.page_mkwrite	= ext4_dax_fault,
 	.pfn_mkwrite	= ext4_dax_pfn_mkwrite,
-	.remap_pages	= generic_file_remap_pages,
 };
 #else
 #define ext4_dax_vm_ops	ext4_file_vm_ops


More information about the Devel mailing list