aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 516058ff0632..bdd483096b39 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -2531,11 +2531,6 @@ static int selinux_mount(char *dev_name,
2531 void *data) 2531 void *data)
2532{ 2532{
2533 const struct cred *cred = current_cred(); 2533 const struct cred *cred = current_cred();
2534 int rc;
2535
2536 rc = secondary_ops->sb_mount(dev_name, path, type, flags, data);
2537 if (rc)
2538 return rc;
2539 2534
2540 if (flags & MS_REMOUNT) 2535 if (flags & MS_REMOUNT)
2541 return superblock_has_perm(cred, path->mnt->mnt_sb, 2536 return superblock_has_perm(cred, path->mnt->mnt_sb,