linux_dsm_epyc7002/drivers/ide
Kiyoshi Ueda 5e36bb6ee8 blk_end_request: changing ide normal caller (take 4)
This patch converts "normal" parts of ide to use blk_end_request
interfaces.  Related 'uptodate' arguments are converted to 'error'.

The conversion of 'uptodate' to 'error' is done only for the internal
function, __ide_end_request().
ide_end_request() was not changed since it's exported and used
by many ide drivers.

With this patch, blkdev_dequeue_request() in __ide_end_request() is
moved to blk_end_request, since blk_end_request takes care of
dequeueing request like below:

	if (!list_empty(&rq->queuelist))
		blkdev_dequeue_request(rq);

In the case of ide,
  o 'dequeue' variable of __ide_end_request() is 1 only when the request
    is still linked to the queue (i.e. rq->queuelist is not empty)
  o 'dequeue' variable of __ide_end_request() is 0 only when the request
    has already been removed from the queue (i.e. rq->queuelist is empty)
So blk_end_request can handle it correctly although ide always run
thought the code above.

Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-01-28 10:37:02 +01:00
..
arm rapide: remove write-only hwif->hwif_data 2008-01-26 20:13:08 +01:00
cris ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
h8300 ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
legacy ide: print banner message once per controller in m68k host drivers 2008-01-26 20:13:09 +01:00
mips au1xxx-ide: use ide_init_port_hw() 2008-01-26 20:13:08 +01:00
pci cmd64x: remove /proc/ide/cmd64x 2008-01-26 20:13:09 +01:00
ppc ide-pmac: use custom hwif->sg_max_nents only if DMA support is enabled 2008-01-26 20:13:08 +01:00
ide-acpi.c ide: set IDE_TFLAG_IN_* flags before queuing/executing command 2008-01-26 20:13:10 +01:00
ide-cd.c blk_end_request: changing ide normal caller (take 4) 2008-01-28 10:37:02 +01:00
ide-cd.h ide-cd: fix SAMSUNG CD-ROM SCR-3231 quirk 2007-12-24 15:23:43 +01:00
ide-disk.c ide: convert "empty" REQ_TYPE_ATA_CMD requests to use REQ_TYPE_ATA_TASKFILE 2008-01-26 20:13:12 +01:00
ide-dma.c ide: task_end_request() fix 2008-01-26 20:13:11 +01:00
ide-floppy.c ide: add ide_pktcmd_tf_load() helper 2008-01-25 22:17:13 +01:00
ide-generic.c ide: remove ideprobe_init() 2008-01-26 20:13:05 +01:00
ide-io.c blk_end_request: changing ide normal caller (take 4) 2008-01-28 10:37:02 +01:00
ide-iops.c ide: switch ide_cmd_ioctl() to use REQ_TYPE_ATA_TASKFILE requests 2008-01-26 20:13:13 +01:00
ide-lib.c ide: remove REQ_TYPE_ATA_CMD 2008-01-26 20:13:13 +01:00
ide-pnp.c ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
ide-probe.c ide: add ide_busy_sleep() helper 2008-01-26 20:13:09 +01:00
ide-proc.c ide: switch set_xfer_rate() to use REQ_TYPE_ATA_TASKFILE requests 2008-01-26 20:13:12 +01:00
ide-scan-pci.c ide: move CONFIG_IDEPCI_PCIBUS_ORDER code to ide-scan-pci.c 2008-01-26 20:13:09 +01:00
ide-tape.c ide-tape: fix handling of non-special requests in ->end_request method 2008-01-26 20:13:10 +01:00
ide-taskfile.c ide: switch ide_cmd_ioctl() to use REQ_TYPE_ATA_TASKFILE requests 2008-01-26 20:13:13 +01:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: convert "empty" REQ_TYPE_ATA_CMD requests to use REQ_TYPE_ATA_TASKFILE 2008-01-26 20:13:12 +01:00
Kconfig ide: make CONFIG_IDEPCI_PCIBUS_ORDER visible and deprecate it 2008-01-26 20:13:09 +01:00
Makefile ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
setup-pci.c ide: move CONFIG_IDEPCI_PCIBUS_ORDER code to ide-scan-pci.c 2008-01-26 20:13:09 +01:00