security: selinux: Change return type to vm_fault_t

Use new return type vm_fault_t for fault handler
in struct vm_operations_struct.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
Souptick Joarder 2018-04-14 21:02:41 +05:30 committed by Paul Moore
parent 60cc43fc88
commit ac9a1f6db3
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ out:
return ret;
}
static int sel_mmap_policy_fault(struct vm_fault *vmf)
static vm_fault_t sel_mmap_policy_fault(struct vm_fault *vmf)
{
struct policy_load_memory *plm = vmf->vma->vm_file->private_data;
unsigned long offset;