From: Borislav Petkov Date: Sun, 27 Apr 2008 13:38:25 +0000 (+0200) Subject: ide-tape: remove pipeline-specific code from idetape_add_chrdev_read_request() X-Git-Tag: v2.6.26-rc1~1029^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e69bd959d1086f87a603b4ddc6bdb0a130ec7db;p=pandora-kernel.git ide-tape: remove pipeline-specific code from idetape_add_chrdev_read_request() In order to do away with queueing read requests on the pipeline, several things have to be done: 1. Do not allocate additional pipeline stages in idetape_init_read() until (tape->nr_stages < max_stages) and do only read operation preparations. As a collateral result, idetape_add_stage_tail() becomes unused so remove it. 2. Queue the read request's buffer directly thru idetape_queue_rw_tail(). 3. Remove now unused idetape_kmalloc_stage() and idetape_switch_buffers(). [bart: simplify the original patch] Signed-off-by: Borislav Petkov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed