diff options
author | Tejun Heo <tj@kernel.org> | 2009-04-18 22:00:42 (GMT) |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-04-18 22:00:42 (GMT) |
commit | eace4cb04c0edc9388e987bf9bbdef461f6daca4 (patch) | |
tree | 3cd10182940039df2c99b0029ae0badf6fc5ada1 /mm/oom_kill.c | |
parent | 7f006dc24fae158131116c9472874f12e16cf040 (diff) | |
download | linux-eace4cb04c0edc9388e987bf9bbdef461f6daca4.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 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions