aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/inode.c b/security/inode.c
index dfc5978d4298..dbe040ac0549 100644
--- a/security/inode.c
+++ b/security/inode.c
@@ -321,7 +321,7 @@ static int __init securityfs_init(void)
321{ 321{
322 int retval; 322 int retval;
323 323
324 security_kobj = kobject_create_and_add("security", &kernel_subsys.kobj); 324 security_kobj = kobject_create_and_add("security", &kernel_kset->kobj);
325 if (!security_kobj) 325 if (!security_kobj)
326 return -EINVAL; 326 return -EINVAL;
327 327