aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:42 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:42 -0400
commit1caf236dafb7291f9fdfe54b12dd945aec0dca03 (patch)
tree0cd324f68b27ee15958739bca362941be380b3fb /include/linux/ide.h
parent1713788ff8e191de5da707ed8144698b32771f99 (diff)
ide: add ide_end_rq() (v2)
* Move request dequeuing from __ide_end_request() to ide_end_request(). * Rename __ide_end_request() to ide_end_rq() and export it. * Fix ide_end_rq() to pass original blk_end_request() return value. * ide_end_dequeued_request() is used only in cdrom_end_request() so inline it there and then remove the function. v2: * Remove needless BUG_ON() while at it (start_request()'s one is enough). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index f9decc9852e9..f910f4ccfaa0 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1131,8 +1131,8 @@ int generic_ide_ioctl(ide_drive_t *, struct block_device *, unsigned, unsigned l
1131extern int ide_vlb_clk; 1131extern int ide_vlb_clk;
1132extern int ide_pci_clk; 1132extern int ide_pci_clk;
1133 1133
1134int ide_end_rq(ide_drive_t *, struct request *, int, unsigned int);
1134int ide_end_request(ide_drive_t *, int, int); 1135int ide_end_request(ide_drive_t *, int, int);
1135int ide_end_dequeued_request(ide_drive_t *, struct request *, int, int);
1136void ide_kill_rq(ide_drive_t *, struct request *); 1136void ide_kill_rq(ide_drive_t *, struct request *);
1137 1137
1138void __ide_set_handler(ide_drive_t *, ide_handler_t *, unsigned int, 1138void __ide_set_handler(ide_drive_t *, ide_handler_t *, unsigned int,