1
linux/drivers/block
Parag Warudkar 01e8ef11bc x86: sysfs: kill owner field from attribute
Tejun's commit 7b595756ec made sysfs
attribute->owner unnecessary.  But the field was left in the structure to
ease the merge.  It's been over a year since that change and it is now
time to start killing attribute->owner along with its users - one arch at
a time!

This patch is attempt #1 to get rid of attribute->owner only for
CONFIG_X86_64 or CONFIG_X86_32 .  We will deal with other arches later on
as and when possible - avr32 will be the next since that is something I
can test.  Compile (make allyesconfig / make allmodconfig / custom config)
and boot tested.

akpm: the idea is that we put the declaration of sttribute.owner inside
`#ifndef CONFIG_X86'.  But that proved to be too ambitious for now because
new usages kept on turning up in subsystem trees.

[akpm: remove the ifdef for now]
Signed-off-by: Parag Warudkar <parag.lkml@gmail.com>
Cc: Greg KH <greg@kroah.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Tejun Heo <htejun@gmail.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Roland Dreier <rolandd@cisco.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-20 08:52:42 -07:00
..
aoe x86: sysfs: kill owner field from attribute 2008-10-20 08:52:42 -07:00
paride device create: block: convert device_create_drvdata to device_create 2008-10-16 09:24:41 -07:00
amiflop.c
ataflop.c m68k: Remove the broken Hades support 2008-10-14 10:23:27 -07:00
brd.c brd: fix name argument of unregister_blkdev() 2008-08-20 15:40:30 -07:00
cciss_cmd.h
cciss_scsi.c cciss: Fix cciss SCSI rescan code to better notice device changes 2008-10-09 08:56:18 +02:00
cciss_scsi.h cciss: Fix cciss SCSI rescan code to better notice device changes 2008-10-09 08:56:18 +02:00
cciss.c drivers/block: Use DIV_ROUND_UP 2008-10-09 08:56:19 +02:00
cciss.h cciss: make rebuild_lun_table behave better 2008-08-06 12:30:03 +02:00
cpqarray.c drivers/block: Use DIV_ROUND_UP 2008-10-09 08:56:19 +02:00
cpqarray.h
cryptoloop.c
DAC960.c
DAC960.h
floppy.c Merge commit 'origin' 2008-10-15 11:31:54 +11:00
hd.c hd: WIN_* -> ATA_CMD_* 2008-10-10 22:39:21 +02:00
ida_cmd.h
ida_ioctl.h
Kconfig update the BLK_DEV_HD help text 2008-07-16 20:33:47 +02:00
loop.c
Makefile move ide/legacy/hd.c to drivers/block/ 2008-07-16 20:33:47 +02:00
nbd.c x86: sysfs: kill owner field from attribute 2008-10-20 08:52:42 -07:00
pktcdvd.c device create: block: convert device_create_drvdata to device_create 2008-10-16 09:24:41 -07:00
ps3disk.c block: don't depend on consecutive minor space 2008-10-09 08:56:05 +02:00
smart1,2.h
sunvdc.c sparc64: Apply const or __initdata to vio_device_id[] 2008-09-01 01:48:52 -07:00
swim3.c
sx8.c
ub.c ub: remove sg_stat 2008-10-17 14:40:52 -07:00
umem.c
umem.h
viodasd.c powerpc/iseries: Remove unused variable in viodasd.c 2008-10-07 14:26:19 +11:00
virtio_blk.c virtio_blk: change to use __blk_end_request() 2008-10-09 08:56:20 +02:00
xd.c
xd.h
xen-blkfront.c Merge branch 'linus' into x86/xen 2008-10-12 12:37:32 +02:00
xsysace.c
z2ram.c