diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-11-02 13:47:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 20:40:18 -0800 |
commit | eb41d9465cdafee45e0cb30f3b7338646221908e (patch) | |
tree | a2e5d62c8b1bd48d5b20515b541096709fe184e0 /fs | |
parent | 386f275f5d097758f867bc99ddeaeb7a03b6b190 (diff) | |
download | op-kernel-dev-eb41d9465cdafee45e0cb30f3b7338646221908e.zip op-kernel-dev-eb41d9465cdafee45e0cb30f3b7338646221908e.tar.gz |
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 <dhaval@linux.vnet.ibm.com>
Cc: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions