mbind(): fix leak of never putback pages
[firefly-linux-kernel-4.4.55.git] / mm / nommu.c
index c73aa4753d793d55a2f35c5b9332ad80932147a2..5189b5aed8c073a388ca5f2dafcc9c3240f7c938 100644 (file)
@@ -79,7 +79,7 @@ static struct kmem_cache *vm_region_jar;
 struct rb_root nommu_region_tree = RB_ROOT;
 DECLARE_RWSEM(nommu_region_sem);
 
-struct vm_operations_struct generic_file_vm_ops = {
+const struct vm_operations_struct generic_file_vm_ops = {
 };
 
 /*