]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: use blk_fs_request() check in ide-taskfile.c
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:37 +0000 (12:46 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:37 +0000 (12:46 +0100)
commitb109f526cabcd098131e770fd6232282bce147b4
tree09e2d38611226b8683d355de1ec95e5cae38aa53
parent03a2faaea8f44edfe583ddf1240948019becfbe4
ide: use blk_fs_request() check in ide-taskfile.c

Use blk_fs_request() in ide-taskfile.c instead of checking for:
- rq->bio in ide_pio_datablock() and task_error()
- rq->cmd_type == REQ_TYPE_ATA_TASKFILE in task_end_request()

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-taskfile.c