From 0d042d9770d70b8129412740bd1afa5a165231fb Mon Sep 17 00:00:00 2001 From: OPNay Date: Sun, 15 Feb 2015 01:59:35 +0900 Subject: [PATCH] Revert "selinux: whitelist f2fs" This reverts commit ddcab8fa30be4077806e49c5e13bc292f88d76c5. --- security/selinux/hooks.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index a6ddeef95eb..f1486b551e6 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -422,10 +422,6 @@ static int sb_finish_set_opts(struct super_block *sb) if (strncmp(sb->s_type->name, "sysfs", sizeof("sysfs")) == 0) sbsec->flags |= SE_SBLABELSUPP; - /* Special handling for f2fs */ - if (strncmp(sb->s_type->name, "f2fs", sizeof("f2fs")) == 0) - sbsec->flags |= SE_SBLABELSUPP; - /* Initialize the root inode. */ rc = inode_doinit_with_dentry(root_inode, root);