diff options
| author | Bartlomiej Zolnierkiewicz <[email protected]> | 2009-06-23 11:35:51 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2009-08-07 17:43:00 +0000 |
| commit | 665d66e8fad60a5a162c4615f27f916ad1a6d567 (patch) | |
| tree | 2e4f699f4fec1ca4010a39b9dd787fbd5f03b44d /fs/proc/array.c | |
| parent | ide: allow ide_dev_read_id() to be called from the IRQ context (diff) | |
| download | kernel-665d66e8fad60a5a162c4615f27f916ad1a6d567.tar.gz kernel-665d66e8fad60a5a162c4615f27f916ad1a6d567.zip | |
ide: fix races in handling of user-space SET XFER commands
* Make cmd->tf_flags field 'u16' and add IDE_TFLAG_SET_XFER taskfile flag.
* Update ide_finish_cmd() to set xfer / re-read id if the new flag is set.
* Convert set_xfer_rate() (write handler for /proc/ide/hd?/current_speed)
and ide_cmd_ioctl() (HDIO_DRIVE_CMD ioctl handler) to use the new flag.
* Remove no longer needed disable_irq_nosync() + enable_irq() from
ide_config_drive_speed().
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
