]> git.baikalelectronics.ru Git - kernel.git/commit
IDE: Report errors during drive reset back to user space
authorElias Oltmanns <eo@nebensachen.de>
Wed, 16 Jul 2008 18:33:48 +0000 (20:33 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 16 Jul 2008 18:33:48 +0000 (20:33 +0200)
commit4f3d583185d4dea3eaad91ec1e707cd32d5a54ac
tree6ec1de97fa6524987f133eee38e30af5e545aeb9
parent97a9ea480d7da89463328d0b36f4898a66e9f472
IDE: Report errors during drive reset back to user space

Make sure that each error condition during the execution of an
HDIO_DRIVE_RESET ioctl is actually reported to the calling process.
Also, unify the exit path of reset_pollfunc() when returning ide_stopped
since the need of ->port_ops->reset_poll() to be treated specially has
vanished (way back, it seems).

Signed-off-by: Elias Oltmanns <eo@nebensachen.de>
Cc: "Alan Cox" <alan@lxorguk.ukuu.org.uk>
Cc: "Randy Dunlap" <randy.dunlap@oracle.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Documentation/ioctl/hdio.txt
drivers/ide/ide-iops.c
drivers/ide/ide.c
drivers/ide/pci/siimage.c