From: Tejun Heo Date: Sat, 18 Apr 2009 22:00:42 +0000 (+0900) Subject: ide-taskfile: don't abuse rq->buffer X-Git-Tag: v2.6.31-rc1~389^2~143 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d868ca24302e99a0e8a86071ca2c66273edf97d9;p=pandora-kernel.git 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 Cc: Jens Axboe --- Reading git-diff-tree failed