ide: fix ide_kill_rq() for special ide-{floppy,tape} driver requests
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 23 Jun 2009 11:26:06 +0000 (11:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jun 2009 06:57:14 +0000 (23:57 -0700)
commit789547508f22e482825f52f813b59680408ec2c7
treeb06d9f048a04125528fb7d89048a16d016c8d1ea
parentd7e2f36d9a92284754ed5254562766cb3d61c7ca
ide: fix ide_kill_rq() for special ide-{floppy,tape} driver requests

Such requests should be failed with -EIO (like all other requests
in this function) instead of being completed successfully.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-io.c