From: Kay Sievers Date: Fri, 2 Nov 2007 12:47:53 +0000 (+0100) Subject: fix struct user_info export's sysfs interaction X-Git-Tag: v2.6.25-rc1~1243^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb41d9465cdafee45e0cb30f3b7338646221908e;p=pandora-kernel.git fix struct user_info export's sysfs interaction Clean up the use of ksets and kobjects. Kobjects are instances of objects (like struct user_info), ksets are collections of objects of a similar type (like the uids directory containing the user_info directories). So, use kobjects for the user_info directories, and a kset for the "uids" directory. On object cleanup, the final kobject_put() was missing. Cc: Dhaval Giani Cc: Srivatsa Vaddagiri Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed