diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-10-04 06:49:11 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-10-25 11:55:59 +0100 |
commit | 71fe07d040626de7b72244bf6de889c2e0f5aea3 (patch) | |
tree | 6c4d6bed7e8510fb2c9a105dba62d2342e6fc897 /include/linux/blkdev.h | |
parent | 5953316dbf90067ebdeca626c34488bc166b73a8 (diff) | |
download | linux-stable-71fe07d040626de7b72244bf6de889c2e0f5aea3.tar.gz linux-stable-71fe07d040626de7b72244bf6de889c2e0f5aea3.tar.bz2 linux-stable-71fe07d040626de7b72244bf6de889c2e0f5aea3.zip |
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>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index f5c7596c93dd..0a8da96274c3 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -160,8 +160,6 @@ struct request { unsigned short ioprio; - int ref_count; - void *special; /* opaque pointer available for LLD use */ char *buffer; /* kaddr of the current segment if available */ |