Files
linux-st/include/linux
Tejun Heo 35cf2b94d0 ide: fix ->io_32bit race in ide_taskfile_ioctl()
In ide_taskfile_ioctl(), there was a race condition involving
drive->io_32bit.  It was cleared and restored during ioctl
requests but there was no synchronization with other requests.
So, other requests could execute with the altered ->io_32bit
setting or updated drive->io_32bit could be overwritten by
ide_taskfile_ioctl().

This patch adds IDE_TFLAG_IO_16BIT flag to indicate to
ide_pio_datablock() that 16-bit I/O is needed regardless of
drive->io_32bit settting.

Bart:
- ported it over recent IDE changes

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-01-26 20:13:10 +01:00
..
2008-01-23 05:24:15 -05:00
2008-01-23 05:24:14 -05:00
2008-01-25 21:08:02 +01:00
2008-01-23 21:23:13 -05:00
2008-01-25 21:08:33 +01:00
2008-01-25 21:08:30 +01:00
2008-01-24 20:40:05 -08:00
2008-01-25 21:08:34 +01:00
2008-01-23 05:24:17 -05:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:33 +01:00
2008-01-25 21:08:34 +01:00
2008-01-24 20:40:26 -08:00