]> git.baikalelectronics.ru Git - kernel.git/commit
ide-tape: kill idetape_bh
authorTejun Heo <tj@kernel.org>
Sat, 18 Apr 2009 23:46:02 +0000 (08:46 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 28 Apr 2009 05:37:31 +0000 (07:37 +0200)
commit29e07b7cd3663393975a93bb7d7e746bd8988eed
tree6c1f861ccf5c8cdd858cacf8800c84a4337c9f13
parentfa36150c5a86a6f6b05c6c0208abcbcfbb41e5cd
ide-tape: kill idetape_bh

Impact: kill now unnecessary idetape_bh

With everything using standard mechanisms, there is no need for
idetape_bh anymore.  Kill it and use tape->buf, cur and valid to
describe data buffer instead.

Changes worth mentioning are...

* idetape_queue_rq_tail() now always queue tape->buf and and adjusts
  buffer state properly before completion.

* idetape_pad_zeros() clears the buffer only once.

Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ide/ide-tape.c