diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-04-14 17:32:41 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-04-17 00:16:00 +0200 |
commit | ac9a1f6db35521df6da1b81ae70eb665beed35c8 (patch) | |
tree | cdbdb8b244d3c4f29a07d38608068d9f08099da8 /security/selinux/selinuxfs.c | |
parent | Linux 4.17-rc1 (diff) | |
download | linux-ac9a1f6db35521df6da1b81ae70eb665beed35c8.tar.xz linux-ac9a1f6db35521df6da1b81ae70eb665beed35c8.zip |
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>
Diffstat (limited to 'security/selinux/selinuxfs.c')
-rw-r--r-- | security/selinux/selinuxfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c index 245160373dab..6128f5293056 100644 --- a/security/selinux/selinuxfs.c +++ b/security/selinux/selinuxfs.c @@ -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; |