diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/inode.c b/security/inode.c index def0cc1b07f2..acc6cf0d7900 100644 --- a/security/inode.c +++ b/security/inode.c | |||
@@ -327,7 +327,7 @@ static int __init securityfs_init(void) | |||
327 | 327 | ||
328 | retval = register_filesystem(&fs_type); | 328 | retval = register_filesystem(&fs_type); |
329 | if (retval) | 329 | if (retval) |
330 | kobject_unregister(security_kobj); | 330 | kobject_put(security_kobj); |
331 | return retval; | 331 | return retval; |
332 | } | 332 | } |
333 | 333 | ||