Commit ac9a1f6d authored by Souptick Joarder's avatar Souptick Joarder Committed by Paul Moore

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: default avatarSouptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: default avatarMatthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 60cc43fc
......@@ -453,7 +453,7 @@ static ssize_t sel_read_policy(struct file *filp, char __user *buf,
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment