linux-kernel mailing list

FromSubjectsort iconDate
Greg KH
[RFC] kobject and kset core changes and cleanups
So, I go on vacation for a week or so and come back to an overflowing inbox. Instead of trying to wade through all of that, I decide to finish up the work Kay and I had started on cleaning up the kset core code. Here's a large patch series that is in my tree and should be for 2.6.25. It does quite a few things: - lots of struct kset work and cleanup. It's much simpler now and will be documented while I still remember what is going one... - almost all (only 5 left) struct kset are dyna...
Nov 2, 7:57 pm 2007
Greg Kroah-Hartman
[PATCH 54/54] kset: remove decl_subsys macro
This macro is no longer used. ksets should be created dynamically with a call to kset_create_and_register() not declared statically. Yes, there are 5 remaining static struct kset usages in the kernel tree, but they will be fixed up soon. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/class.c | 11 +++++++++-- include/linux/kobject.h | 6 ------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/drive...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 53/54] kset: convert ocfs2 to use kset_create
Dynamically create the kset instead of declaring it statically. Also use the new kobj_attribute which cleans up this file a _lot_. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Mark Fasheh <mark.fasheh@oracle.com> Cc: Kurt Hackel <kurt.hackel@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/ocfs2/cluster/masklog.c | 4 +- fs/ocfs2/cluster/sys.c | 83 +++++++++++-------------------------------- 2 files changed, 23 insertions(+), 64 deletions(-)...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 47/54] kobject: convert parisc/pdc_stable to kobj_att...
This makes the code a bit simpler and and gets us one step closer to deleting the deprecated subsys_attr code. NOTE, this needs the next patch in the series in order to work properly. This will build, but the sysfs files will not properly operate. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Thibaut VARENE <varenet@parisc-linux.org> Cc: Matthew Wilcox <matthew@wil.cx> Cc: Grant Grundler <grundler@parisc-linux.org> Cc: Kyle McMartin <kyle@parisc-linux.org> Signed-off-...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 52/54] firmware: remove firmware_(un)register()
These functions are no longer called or needed, so we can remove them. As I rewrote the whole firmware.c file, add my copyright. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/firmware.c | 19 ++----------------- include/linux/device.h | 5 ----- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/drivers/base/firmware.c b/drivers/base/firmware.c index d225059..75e3049 100644 --- a/drivers/base/firmware...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 51/54] kset: convert acpi to use kset_create
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Len Brown <lenb@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/acpi/bus.c | 12 ++++++++---- drivers/acpi/system.c | 2 +- include/acpi/acpi_bus.h | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index fe90513..8be7567 100644 --- a/drivers/acpi/bus.c +++ b/drivers/...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 50/54] kset: convert edd to use kset_create
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Matt Domsch <Matt_Domsch@dell.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/firmware/edd.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/firmware/edd.c b/drivers/firmware/edd.c index fc567fa..098132a 100644 --- a/drivers/firmware/edd.c +++ b/drivers/firmware/edd.c @@ -631,7 +631,7 @@ static struct kob...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 48/54] kset: convert parisc/pdc_stable.c to use kset_...
Dynamically create the kset instead of declaring it statically. This makes the kobject attributes now work properly that I broke in the previous patch. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Thibaut VARENE <varenet@parisc-linux.org> Cc: Matthew Wilcox <matthew@wil.cx> Cc: Grant Grundler <grundler@parisc-linux.org> Cc: Kyle McMartin <kyle@parisc-linux.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/parisc/pdc_stable.c | 42 +++++++++++...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 49/54] Driver Core: kill subsys_attribute and default...
From: Kay Sievers <kay.sievers@vrfy.org> Remove the no longer needed subsys_attributes, they are all converted to the more sensical kobj_attributes. There is no longer a magic fallback in sysfs attribute operations, all kobjects which create simple attributes need explicitely a ktype assigned, which tells the core what was intended here. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/sysfs/file.c | 63 ++...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 46/54] kset: convert s390 ipl.c to use kset_create
Dynamically create the kset instead of declaring it statically. This makes the kobject attributes now work properly that I broke in the previous patch. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Michael Holzheu <holzheu@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Volker Sameske <sameske@de.ibm.com> Cc: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- arch/s390/kernel/ipl.c | 75 ++++++++++++++...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 45/54] kobject: convert s390 ipl.c to kobj_attr inter...
This makes the code a bit simpler and and gets us one step closer to deleting the deprecated subsys_attr code. NOTE, this needs the next patch in the series in order to work properly. This will build, but the sysfs files will not properly operate. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Michael Holzheu <holzheu@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Volker Sameske <sameske@de.ibm.com> Cc: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-of...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 42/54] kset: convert efivars to use kset_create for t...
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Matt Domsch <Matt_Domsch@dell.com> Cc: Matt Tolentino <matthew.e.tolentino@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/firmware/efivars.c | 16 +++++++--------- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index c2383ac..362c5a5 100644 --- a/drivers/firmware/ef...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 44/54] kobject: convert pseries/power.c to kobj_attr ...
This makes the code a bit simpler and and gets us one step closer to deleting the deprecated subsys_attr code. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Manish Ahuja <mahuja@us.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- arch/powerpc/platforms/pseries/power.c | 20 ++++++++------------ 1 files changed, 8 insertions(+), 12 deletions(-) diff --git a/arch/powerpc/platforms/pseries/power.c b/arch/powerpc/platforms/pseries/power.c index bf35de4..012224b 1006...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 38/54] efivars: remove new_var and del_var files from...
WTF? Passing binary structures into a sysfs file, expecting it to be in the correct format/endianness? That's just wrong on so many levels. So, these files are deleted. If you want to add them back, please do so in configfs, or in debugfs. Or use text strings, which is what sysfs is only for. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Matt Domsch <Matt_Domsch@dell.com> Cc: Matt Tolentino <matthew.e.tolentino@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de&gt...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 43/54] kobject: convert arm/mach-omap1/pm.c to kobj_a...
This makes the code a bit simpler and and gets us one step closer to deleting the deprecated subsys_attr code. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Cliff Brake <cbrake@accelent.com> Cc: Dirk Behme <dirk.behme@de.bosch.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- arch/arm/mach-omap1/pm.c | 22 ++++++++-------------- 1 files changed, 8 insertions(+), 14 deletions(-) diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index 402113c..63e...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 40/54] firmware: export firmware_kset so that people ...
Needed for future firmware subsystem cleanups. In the end, the firmware_register/unregister functions will be deleted entirely, but we need this symbol so that subsystems can migrate over. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Matt Domsch <Matt_Domsch@dell.com> Cc: Matt Tolentino <matthew.e.tolentino@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/firmware.c | 3 ++- include/linux/kobject.h | 2 ++ 2 files changed, 4 insertions...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 41/54] kset: convert efivars to use kset_create for t...
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Matt Domsch <Matt_Domsch@dell.com> Cc: Matt Tolentino <matthew.e.tolentino@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/firmware/efivars.c | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index 8d7c8c5..c2383ac 100644 --- a/drivers/firmware/e...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 39/54] kobject: convert efivars to kobj_attr interface
This cleans up a lot of code and gets rid of a unneeded macro, and gets us one step closer to deleting the deprecated subsys_attr code. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Matt Domsch <Matt_Domsch@dell.com> Cc: Matt Tolentino <matthew.e.tolentino@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/firmware/efivars.c | 35 ++++++++++++++--------------------- 1 files changed, 14 insertions(+), 21 deletions(-) diff --git a/drivers/firmware/ef...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 37/54] ecryptfs: remove version_str file from sysfs
This file violates the one-value-per-file sysfs rule. If you all want it added back, please do something like a per-feature file to show what is present and what isn't. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Mike Halcrow <mhalcrow@us.ibm.com> Cc: Phillip Hellewell <phillip@hellewell.homeip.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/ecryptfs/main.c | 43 ------------------------------------------- 1 files changed, 0 insertions(+), 43 deletions(-...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 33/54] driver core: remove fields from struct bus_type
struct bus_type is static everywhere in the kernel. This moves the kobject in the structure out of it, and a bunch of other private only to the driver core fields are now moved to a private structure. This lets us dynamically create the backing kobject properly and gives us the chance to be able to document to users exactly how to use the struct bus_type as there are no fields they can improperly access. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@sus...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 35/54] Driver Core: switch all dynamic ksets to kobj_...
From: Kay Sievers <kay.sievers@vrfy.org> Switch all dynamically created ksets, that export simple attributes, to kobj_attribute from subsys_attribute. Struct subsys_attribute will be removed. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Cc: Mike Halcrow <mhalcrow@us.ibm.com> Cc: Phillip Hellewell <phillip@hellewell.homeip.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/ecryptfs/main.c | 10 ++++++---- kernel/ksysfs.c | 35 ++++++++++...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 36/54] fix struct user_info export's sysfs interaction
From: Kay Sievers <kay.sievers@vrfy.org> 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.i...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 34/54] Driver Core: add kobj_attribute handling
From: Kay Sievers <kay.sievers@vrfy.org> Add kobj_sysfs_ops to replace subsys_sysfs_ops. There is no need for special kset operations, we want to be able to use simple attribute operations at any kobject, not only ksets. The whole concept of any default sysfs attribute operations will go away with the upcoming removal of subsys_sysfs_ops. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- include/linux/kobject.h | 10 +...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 31/54] driver core: add way to get to bus kset
This allows an easier way to get to the kset associated with a struct bus_type (you have three to choose from...) This will make it easier to move these fields to be dynamic in a future patch. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/bus.c | 6 ++++++ drivers/pci/hotplug/pci_hotplug_core.c | 2 +- include/linux/device.h | 2 ++ 3 files changed, 9 insertions(+), 1 deletions(...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 32/54] driver core: add way to get to bus device klist
This allows an easier way to get to the device klist associated with a struct bus_type (you have three to choose from...) This will make it easier to move these fields to be dynamic in a future patch. The only user of this is the PCI core which horribly abuses this interface to rearrange the order of the pci devices. This should be done using the existing bus device walking functions, but that's left for future patches. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Har...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 30/54] driver core: remove owner field from struct bu...
This isn't used by anything in the driver core, and by no one in the 204 different usages of it in the kernel tree. Remove this field so no one gets any idea that it is needed to be used. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- include/linux/device.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/linux/device.h b/include/linux/device.h index f6eaa33..a8ffb3a 100644 --- a/include/linux/device.h ...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 28/54] kset: convert struct bus_device->devices to...
Dynamically create the kset instead of declaring it statically. Having 3 static kobjects in one structure is not only foolish, but ripe for nasty race conditions if handled improperly. We also rename the field to catch any potential users of it (not that there should be outside of the driver core...) Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/bus.c | 19 ++++++++++--------- include/linux/device.h | 2 +- 2 f...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 29/54] kset: convert struct bus_device->drivers to...
Dynamically create the kset instead of declaring it statically. Having 3 static kobjects in one structure is not only foolish, but ripe for nasty race conditions if handled improperly. We also rename the field to catch any potential users of it (not that there should be outside of the driver core...) Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/bus.c | 15 ++++++++------- drivers/base/driver.c | 2 +- include...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 27/54] kset: convert s390 hypervisor kset to use kset...
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Michael Holzheu <holzheu@de.ibm.com> Cc: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- arch/s390/hypfs/inode.c | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c index 387d0e4..b8f124a 100644 --- a/arch/s390/hypfs/inode.c +++ b/ar...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 26/54] kset: convert /sys/power to use kset_create
Dynamically create the kset instead of declaring it statically. We also rename power_subsys to power_kset to catch all users of the variable and we properly export it so that people don't have to guess that it really is present in the system. The pseries code is wierd, why is it createing /sys/power if CONFIG_PM is disabled? Oh well, stupid big boxes ignoring config options... Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- arch/arm/m...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 25/54] kset: convert /sys/module to use kset_create
Dynamically create the kset instead of declaring it statically. We also rename module_subsys to module_kset to catch all users of the variable. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- include/linux/module.h | 3 ++- kernel/module.c | 6 ++---- kernel/params.c | 21 ++++++++------------- 3 files changed, 12 insertions(+), 18 deletions(-) diff --git a/include/linux/module.h b/include/linux/module.h index 2c...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 22/54] kset: convert /sys/devices/system to use kset_...
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/sys.c | 28 ++++++++++++---------------- 1 files changed, 12 insertions(+), 16 deletions(-) diff --git a/drivers/base/sys.c b/drivers/base/sys.c index 7693c95..600db58 100644 --- a/drivers/base/sys.c +++ b/drivers/base/sys.c @@ -126,19 +126,16 @@ void sysdev_class_remove_file(struct sysdev_class *c, } EXPOR...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 24/54] kset: move /sys/slab to /sys/kernel/slab
/sys/kernel is where these things should go. Also updated the documentation and tool that used this directory. Cc: Kay Sievers <kay.sievers@vrfy.org> Acked-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- Documentation/vm/slabinfo.c | 2 +- Documentation/vm/slub.txt | 2 +- mm/slub.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/vm/slabinfo.c b/Documentation/vm/s...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 23/54] kset: convert slub to use kset_create
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Christoph Lameter <clameter@sgi.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- mm/slub.c | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index b821fdb..9957683 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -21,6 +21,7 @@ #include <linux/ctype.h> #include <linux/kallsyms.h> #incl...
Nov 2, 7:59 pm 2007
Greg Kroah-Hartman
[PATCH 16/54] kset: convert kernel_subsys to use kset_create
Dynamically create the kset instead of declaring it statically. We also rename kernel_subsys to kernel_kset to catch all users of this symbol with a build error instead of an easy-to-ignore build warning. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/configfs/mount.c | 2 +- fs/debugfs/inode.c | 2 +- fs/dlm/lockspace.c | 2 +- fs/gfs2/locking/dlm/sysfs.c | 2 +- include/linux/kobject.h | ...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 20/54] kset: convert /sys/devices to use kset_create
Dynamically create the kset instead of declaring it statically. We also rename devices_subsys to devices_kset to catch all users of the variable. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/base.h | 2 +- drivers/base/core.c | 17 +++++++++-------- drivers/base/power/shutdown.c | 2 +- drivers/base/sys.c | 4 +--- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git ...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 21/54] kset: convert /sys/hypervisor to use kset_create
Dynamically create the kset instead of declaring it statically. We also rename hypervisor_subsys to hypervisor_kset to catch all users of the variable. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- arch/s390/hypfs/inode.c | 2 +- drivers/base/hypervisor.c | 14 ++++++++++---- include/linux/kobject.h | 4 ++-- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c ...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 19/54] kset: convert drivers/base/firmware.c kset_cre...
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/firmware.c | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/base/firmware.c b/drivers/base/firmware.c index 336be04..d1c2ef4 100644 --- a/drivers/base/firmware.c +++ b/drivers/base/firmware.c @@ -11,15 +11,16 @@ #include <linux/kobject.h> #include <linux/module...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 17/54] kset: convert drivers/base/bus.c kset_create_a...
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/bus.c | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 6309560..8b65694 100644 --- a/drivers/base/bus.c +++ b/drivers/base/bus.c @@ -13,6 +13,7 @@ #include <linux/errno.h> #include <linux/init.h> #include <linux/...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 18/54] kset: convert drivers/base/class.c kset_create...
Dynamically create the kset instead of declaring it statically. The class_obj subsystem is not yet converted as it is more complex and should be going away soon with the removal of class_device from the kernel tree. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/base/class.c | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/base/class.c b/drivers/base/class.c index 8ad9892..27256b3 10...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 15/54] kset: remove decl_subsys_name
The last user of this macro (pci hotplug core) is now switched over to using a dynamic kset, so this macro is no longer needed at all. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- include/linux/kobject.h | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 205d186..84525a6 100644 --- a/includ...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 13/54] kset: convert dlm to use kset_create
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Steven Whitehouse <swhiteho@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/dlm/lockspace.c | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/fs/dlm/lockspace.c b/fs/dlm/lockspace.c index 18e4a17..28c3cb4 100644 --- a/fs/dlm/lockspace.c +++ b/fs/dlm/lockspace.c @@ -166,7 +166,7 @@ static struct kobj_type d...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 14/54] kset: convert pci hotplug to use kset_create_a...
This also renames pci_hotplug_slots_subsys to pcis_hotplug_slots_kset catch all current users with a build error instead of a build warning which can easily be missed. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/pci/hotplug/acpiphp_ibm.c | 4 ++-- drivers/pci/hotplug/pci_hotplug_core.c | 21 ++++++++++----------- drivers/pci/hotplug/rpadlpar_sysfs.c | ...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 12/54] kset: convert gfs2 dlm to use kset_create
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Steven Whitehouse <swhiteho@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/gfs2/locking/dlm/sysfs.c | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/fs/gfs2/locking/dlm/sysfs.c b/fs/gfs2/locking/dlm/sysfs.c index 93e66b2..9c351db 100644 --- a/fs/gfs2/locking/dlm/sysfs.c +++ b/fs/gfs2/locking/dlm/sysfs....
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 11/54] kset: convert gfs2 to use kset_create
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Steven Whitehouse <swhiteho@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/gfs2/sys.c | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c index dab7d9d..222dd8d 100644 --- a/fs/gfs2/sys.c +++ b/fs/gfs2/sys.c @@ -221,7 +221,7 @@ static struct kobj_type gfs2_ktype = { .sysfs_ops =...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 10/54] kset: convert main fs kset to use kset_create
This also renames fs_subsys to fs_kset to catch all current users with a build error instead of a build warning which can easily be missed. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/ecryptfs/main.c | 2 +- fs/fuse/inode.c | 2 +- fs/gfs2/sys.c | 2 +- fs/namespace.c | 14 ++++++++------ include/linux/fs.h | 2 +- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/fs/ecryptfs/main.c b/f...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 09/54] kset: convert ecryptfs to use kset_create
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Mike Halcrow <mhalcrow@us.ibm.com> Cc: Phillip Hellewell <phillip@hellewell.homeip.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/ecryptfs/main.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c index 18ab012..5bfdf96 100644 --- a/fs/ecryptfs/main.c +++ b/fs/ecrypt...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 06/54] kset: convert securityfs to use kset_create
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Acked-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- security/inode.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/security/inode.c b/security/inode.c index 9e42f5f..9071d81 100644 --- a/security/inode.c +++ b/security/inode.c @@ -315,20 +315,20 @@ void securityfs_remove(struct dentry *den...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 08/54] kset: convert configfs to use kset_create
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/configfs/mount.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fs/configfs/mount.c b/fs/configfs/mount.c index 374ddbd..8674e6d 100644 --- a/fs/configfs/mount.c +++ b/fs/configfs/mount.c @@ -128,7 +128,7 @@ void configfs_relea...
Nov 2, 7:58 pm 2007
Greg Kroah-Hartman
[PATCH 07/54] kset: convert debugfs to use kset_create
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/debugfs/inode.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index f7f1351..9f8af79 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c @@ -426,20 +426,20 @@ exit: } EXPORT_SYMBOL_GPL(debugfs_rename); -static decl_subsys(debug, NUL...
Nov 2, 7:58 pm 2007
previous daytodaynext day
November 1, 2007November 2, 2007November 3, 2007