linux/fs/sysfs
Greg Kroah-Hartman 3514faca19 kobject: remove struct kobj_type from struct kset
We don't need a "default" ktype for a kset.  We should set this
explicitly every time for each kset.  This change is needed so that we
can make ksets dynamic, and cleans up one of the odd, undocumented
assumption that the kset/kobject/ktype model has.

This patch is based on a lot of help from Kay Sievers.

Nasty bug in the block code was found by Dave Young
<hidave.darkstar@gmail.com>

Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-01-24 20:40:10 -08:00
..
bin.c sysfs: add copyrights 2007-10-12 14:51:12 -07:00
dir.c sysfs: Fix a copy-n-paste typo in comment 2008-01-24 20:40:04 -08:00
file.c kobject: remove struct kobj_type from struct kset 2008-01-24 20:40:10 -08:00
group.c sysfs: Remove first pass at shadow directory support 2007-10-12 14:51:03 -07:00
inode.c mm: bdi init hooks 2007-10-17 08:42:45 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mount.c mm: bdi init hooks 2007-10-17 08:42:45 -07:00
symlink.c sysfs: create optimal relative symlink targets 2008-01-24 20:40:08 -08:00
sysfs.h sysfs: make sysfs_{get,put}_active() static 2007-10-30 21:52:33 -07:00