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 dbe040ac0549..def0cc1b07f2 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_kset->kobj); 324 security_kobj = kobject_create_and_add("security", kernel_kobj);
325 if (!security_kobj) 325 if (!security_kobj)
326 return -EINVAL; 326 return -EINVAL;
327 327