linux-hardened/drivers/w1
Tejun Heo 7b595756ec sysfs: kill unnecessary attribute->owner
sysfs is now completely out of driver/module lifetime game.  After
deletion, a sysfs node doesn't access anything outside sysfs proper,
so there's no reason to hold onto the attribute owners.  Note that
often the wrong modules were accounted for as owners leading to
accessing removed modules.

This patch kills now unnecessary attribute->owner.  Note that with
this change, userland holding a sysfs node does not prevent the
backing module from being unloaded.

For more info regarding lifetime rule cleanup, please read the
following message.

  http://article.gmane.org/gmane.linux.kernel/510293

(tweaked by Greg to not delete the field just yet, to make it easier to
merge things properly.)

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:09:06 -07:00
..
masters Driver for the Maxim DS1WM, a 1-wire bus master ASIC core 2007-05-08 11:15:14 -07:00
slaves sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
Kconfig [S390] Kconfig: menus with depends on HAS_IOMEM. 2007-05-10 15:46:07 +02:00
Makefile [PATCH] better CONFIG_W1_SLAVE_DS2433_CRC handling 2006-12-07 08:39:43 -08:00
w1.c sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
w1.h [PATCH] drivers/w1/w1.c: fix a compile error 2006-06-22 11:22:51 -07:00
w1_family.c [PATCH] W1: possible cleanups 2006-06-22 11:22:50 -07:00
w1_family.h [BATTERY] ds2760 W1 slave 2007-07-10 11:28:31 +01:00
w1_int.c w1: allow bus master to have reset and byte ops 2007-05-08 11:15:14 -07:00
w1_int.h [PATCH] w1: cleanups. 2005-06-21 21:43:09 -07:00
w1_io.c [PATCH] W1: possible cleanups 2006-06-22 11:22:50 -07:00
w1_log.h [PATCH] w1: cleanups. 2005-06-21 21:43:09 -07:00
w1_netlink.c [PATCH] w1: Use mutexes instead of semaphores. 2006-06-22 11:22:50 -07:00
w1_netlink.h [PATCH] w1: Move w1-connector definitions into linux/include/connector.h 2006-06-22 11:22:50 -07:00