[PATCH] Re: IDE cleanup for 2.5.4-pre3
authorMartin Dalecki <dalecki@evision-ventures.com>
Mon, 18 Feb 2002 01:05:04 +0000 (17:05 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 18 Feb 2002 01:05:04 +0000 (17:05 -0800)
commit5191903e12c6415f53aeecc6d28dba27a29fb354
treeba93324644b01e340137e460daf131f3f49f2e22
parent2796576e0cff656d34368221121729846b4e1de5
[PATCH] Re: IDE cleanup for 2.5.4-pre3

The end_request() function familiy (not the global one, but the IDE
specific ones), did bear a permuted parameter ordering.  After fixing
this it turned out that at all places the huk parameter wasn't the
hwgroup, but just the drive in question itself.  I have changed this to
be more sane, which allowed to remove many unneccessary code
duplication, or rather obfuscation, in between the __ide_end_request()
and ide_end_request() functions.  This simplification is actually the
"spreading" part of the game.
14 files changed:
arch/cris/drivers/ide.c
drivers/ide/icside.c
drivers/ide/ide-cd.c
drivers/ide/ide-disk.c
drivers/ide/ide-dma.c
drivers/ide/ide-floppy.c
drivers/ide/ide-probe.c
drivers/ide/ide-proc.c
drivers/ide/ide-tape.c
drivers/ide/ide-taskfile.c
drivers/ide/ide.c
drivers/ide/pdc4030.c
drivers/scsi/ide-scsi.c
include/linux/ide.h