diff options
author | Tejun Heo <tj@kernel.org> | 2009-04-19 02:00:42 +0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-28 09:37:29 +0400 |
commit | d868ca24302e99a0e8a86071ca2c66273edf97d9 (patch) | |
tree | 447a39c6e1880f16ff329b9014471945a9db0e22 /Documentation/x86 | |
parent | 8968932e54db35cf9d69cfbbd50c26dfaaa586c7 (diff) | |
download | linux-d868ca24302e99a0e8a86071ca2c66273edf97d9.tar.xz |
ide-taskfile: don't abuse rq->buffer
Impact: rq->buffer usage cleanup
ide_raw_taskfile() directly uses rq->buffer to carry pointer to the
data buffer. This complicates both block interface and ide backend
request handling. Use blk_rq_map_kern() instead and drop special
handling for REQ_TYPE_ATA_TASKFILE from ide_map_sg().
Note that REQ_RW setting is moved upwards as blk_rq_map_kern() uses it
to initialize bio rw flag.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/x86')
0 files changed, 0 insertions, 0 deletions