aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/include
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2020-11-04 13:01:10 +0100
committerPaul Moore <paul@paul-moore.com>2020-11-12 19:52:21 -0500
commitb159e86b5a2ab826b3a292756072f4cc523675ab (patch)
treea581011ffe02f3121a6a293f8411b48713310a4d /security/selinux/include
parentselinux: fix inode_doinit_with_dentry() LABEL_INVALID error handling (diff)
downloadlinux-dev-b159e86b5a2ab826b3a292756072f4cc523675ab.tar.xz
linux-dev-b159e86b5a2ab826b3a292756072f4cc523675ab.zip
selinux: drop super_block backpointer from superblock_security_struct
It appears to have been needed for selinux_complete_init() in the past, but today it's useless. Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/include')
-rw-r--r--security/selinux/include/objsec.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h
index 330b7b6d44e0..ca4d7ab6a835 100644
--- a/security/selinux/include/objsec.h
+++ b/security/selinux/include/objsec.h
@@ -61,7 +61,6 @@ struct file_security_struct {
};
struct superblock_security_struct {
- struct super_block *sb; /* back pointer to sb object */
u32 sid; /* SID of file system superblock */
u32 def_sid; /* default SID for labeling */
u32 mntpoint_sid; /* SECURITY_FS_USE_MNTPOINT context for files */