diff options
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 911b780fcf80..42b538ceb8b4 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -678,7 +678,7 @@ static int selinux_set_mnt_opts(struct super_block *sb, | |||
678 | sbsec->flags |= SE_SBPROC; | 678 | sbsec->flags |= SE_SBPROC; |
679 | 679 | ||
680 | /* Determine the labeling behavior to use for this filesystem type. */ | 680 | /* Determine the labeling behavior to use for this filesystem type. */ |
681 | rc = security_fs_use((sbsec->flags & SE_SBPROC) ? "proc" : sb->s_type->name, &sbsec->behavior, &sbsec->sid); | 681 | rc = security_fs_use(sb->s_type->name, &sbsec->behavior, &sbsec->sid); |
682 | if (rc) { | 682 | if (rc) { |
683 | printk(KERN_WARNING "%s: security_fs_use(%s) returned %d\n", | 683 | printk(KERN_WARNING "%s: security_fs_use(%s) returned %d\n", |
684 | __func__, sb->s_type->name, rc); | 684 | __func__, sb->s_type->name, rc); |