diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-12-20 08:13:05 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 20:40:40 -0800 |
commit | 78a2d906b40fe530ea800c1e873bfe8f02326f1e (patch) | |
tree | ebeef35150816fa807f71e596a9aaf711ad10a90 /security/inode.c | |
parent | 197b12d6796a3bca187f22a8978a33d51e2bcd79 (diff) | |
download | op-kernel-dev-78a2d906b40fe530ea800c1e873bfe8f02326f1e.zip op-kernel-dev-78a2d906b40fe530ea800c1e873bfe8f02326f1e.tar.gz |
Kobject: convert remaining kobject_unregister() to kobject_put()
There is no need for kobject_unregister() anymore, thanks to Kay's
kobject cleanup changes, so replace all instances of it with
kobject_put().
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'security/inode.c')
-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 def0cc1..acc6cf0 100644 --- a/security/inode.c +++ b/security/inode.c @@ -327,7 +327,7 @@ static int __init securityfs_init(void) retval = register_filesystem(&fs_type); if (retval) - kobject_unregister(security_kobj); + kobject_put(security_kobj); return retval; } |