Revert "SELinux: build fix for 4.1"
[firefly-linux-kernel-4.4.55.git] / security / selinux / hooks.c
index 78d06ff4eeb799b91c847a1a8ea9e3b947d02fc3..d4d12949de0939aa561b4ad7abd88c7ca8635b53 100644 (file)
@@ -469,7 +469,7 @@ static int sb_finish_set_opts(struct super_block *sb)
         * setting SELinux context on in-core inodes.
         */
        if (strncmp(sb->s_type->name, "rootfs", sizeof("rootfs")) == 0)
-               sbsec->flags |= SBLABEL_MNT;
+               sbsec->flags |= SE_SBLABELSUPP;
 
        /* Initialize the root inode. */
        rc = inode_doinit_with_dentry(root_inode, root);