]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/ide/ide-tape.c
ide-tape: kill idetape_bh
authorTejun Heo <tj@kernel.org>
Sat, 18 Apr 2009 23:46:02 +0000 (08:46 +0900)
committerTejun Heo <tj@kernel.org>
Sat, 18 Apr 2009 23:46:02 +0000 (08:46 +0900)
commit963da55c4b9eeeb2085ca74ba927cf77bce966d4
tree4eee39ae0ce95d4a07139c92630e5b3015e3e652
parent21d9c5d227593d15630ae83a336d1519653e9b8a
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