android_kernel_xiaomi_sm8350/arch
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
..
alpha alpha: fix alignment problem in csum_ipv6_magic() 2007-06-24 08:59:11 -07:00
arm PM: do not use saved_state from struct dev_pm_info on ARM 2007-07-11 16:09:02 -07:00
arm26
avr32 [AVR32] Update defconfigs 2007-06-23 15:43:48 +02:00
blackfin Blackfin arch: update board defconfig files 2007-07-02 13:49:15 +08:00
cris
frv
h8300 h8300 trival patches 2007-06-01 08:18:29 -07:00
i386 sched: x86, track TSC-unstable events 2007-07-09 18:51:59 +02:00
ia64 sched: zap the migration init / cache-hot balancing code 2007-07-09 18:51:57 +02:00
m32r
m68k x86_64: Quieten Atari keyboard warnings in Kconfig 2007-06-20 14:27:26 -07:00
m68knommu m68knommu: fix ColdFire timer off by 1 2007-06-08 17:23:32 -07:00
mips [MIPS] PNX8550: Cleanup proc code. 2007-07-10 17:33:07 +01:00
parisc [PARISC] unwinder improvements 2007-06-21 17:46:22 -04:00
powerpc [POWERPC] Update defconfigs 2007-07-02 00:04:36 -05:00
ppc sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
s390 sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
sh sh: Handle -ERESTART_RESTARTBLOCK for restartable syscalls. 2007-06-19 12:33:21 +09:00
sh64 sh64: Handle -ERESTART_RESTARTBLOCK for restartable syscalls. 2007-06-19 12:41:32 +09:00
sparc sched: zap the migration init / cache-hot balancing code 2007-07-09 18:51:57 +02:00
sparc64 sched: zap the migration init / cache-hot balancing code 2007-07-09 18:51:57 +02:00
um uml: remove PAGE_SIZE from libc code 2007-06-16 13:16:16 -07:00
v850
x86_64 x86_64 irq: use mask/unmask and proper locking in fixup_irqs() 2007-06-26 16:54:29 -07:00
xtensa [XTENSA] Remove non-rt signal handling 2007-05-31 17:49:32 -07:00