diff options
author | Ondrej Mosnacek <omosnace@redhat.com> | 2020-11-04 13:01:10 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-11-13 01:52:21 +0100 |
commit | b159e86b5a2ab826b3a292756072f4cc523675ab (patch) | |
tree | a581011ffe02f3121a6a293f8411b48713310a4d /security/selinux/include | |
parent | selinux: fix inode_doinit_with_dentry() LABEL_INVALID error handling (diff) | |
download | linux-b159e86b5a2ab826b3a292756072f4cc523675ab.tar.xz linux-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.h | 1 |
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 */ |