diff options
author | James Morris <jmorris@namei.org> | 2011-08-30 02:50:12 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-09-10 01:56:30 +0200 |
commit | ad3fa08c4ff84ed87649d72e8497735c85561a3d (patch) | |
tree | e6f22e6d42cf52c689e983be42b9292180564446 /security/selinux/selinuxfs.c | |
parent | ima: sparse fix: include linux/ima.h in ima_main.c (diff) | |
download | linux-ad3fa08c4ff84ed87649d72e8497735c85561a3d.tar.xz linux-ad3fa08c4ff84ed87649d72e8497735c85561a3d.zip |
selinux: sparse fix: eliminate warnings for selinuxfs
Fixes several sparse warnings for selinuxfs.c
Signed-off-by: James Morris <jmorris@namei.org>
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 d3677c6c12c6..ba2ada5f16a9 100644 --- a/security/selinux/selinuxfs.c +++ b/security/selinux/selinuxfs.c @@ -477,7 +477,7 @@ static struct vm_operations_struct sel_mmap_policy_ops = { .page_mkwrite = sel_mmap_policy_fault, }; -int sel_mmap_policy(struct file *filp, struct vm_area_struct *vma) +static int sel_mmap_policy(struct file *filp, struct vm_area_struct *vma) { if (vma->vm_flags & VM_SHARED) { /* do not allow mprotect to make mapping writable */ |