mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 23:23:03 +00:00
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:
parent
60cc43fc88
commit
ac9a1f6db3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user