block: remove request ref_count
authorChristoph Hellwig <hch@infradead.org>
Fri, 4 Oct 2013 13:49:11 +0000 (06:49 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:38 +0000 (12:54 -0600)
commitbd46526b293deb663bff4d44c1c3723aacdd53f8
treeb03b88c4646914148ed8401fc5ec8cb5dbbf4715
parent366bdddc2ab166855eb838936ffb43eebea553fc
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