]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove request ref_count
authorChristoph Hellwig <hch@infradead.org>
Fri, 4 Oct 2013 13:49:11 +0000 (06:49 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 25 Oct 2013 10:55:59 +0000 (11:55 +0100)
commit0f467df2a77eff2ca2a7002425059df32c9e7c46
tree6c4d6bed7e8510fb2c9a105dba62d2342e6fc897
parent1d8d3163a1dc06eb29792c22680b19fd2974a318
block: remove request ref_count

This reference count has been around since before git history, but the only
place where it's used is in blk_execute_rq, and ther it is entirely useless
as it is incremented before submitting the request and decremented in the
end_io handler before waking up the submitter thread.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-exec.c
include/linux/blkdev.h