aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:44 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:44 -0400
commita9587fd8c48415cc93fef7f4ba7748a5d3477e7b (patch)
tree310e6d5859c65a4b00395a5922e834defde06bcd /include
parent89f78b3261f7e331e41753ea2459fbb9b60a6f7a (diff)
ide: remove BUG() from ide_complete_rq()
It is no longer needed so remove it, also while at it dequeue the request only on blk_end_request() success and make ide_complete_rq() return an error value. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-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 32369d5797de..bb62bfaf02e0 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1166,7 +1166,7 @@ extern int ide_devset_execute(ide_drive_t *drive,
1166 const struct ide_devset *setting, int arg); 1166 const struct ide_devset *setting, int arg);
1167 1167
1168void ide_complete_cmd(ide_drive_t *, struct ide_cmd *, u8, u8); 1168void ide_complete_cmd(ide_drive_t *, struct ide_cmd *, u8, u8);
1169void ide_complete_rq(ide_drive_t *, int); 1169int ide_complete_rq(ide_drive_t *, int);
1170 1170
1171void ide_tf_dump(const char *, struct ide_taskfile *); 1171void ide_tf_dump(const char *, struct ide_taskfile *);
1172 1172