block: add end_queued_request() and end_dequeued_request() helpers
authorJens Axboe <jens.axboe@oracle.com>
Fri, 21 Sep 2007 08:41:07 +0000 (10:41 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 16 Oct 2007 09:03:53 +0000 (11:03 +0200)
commita0cd128542cd9c67f27458a08e989db486a293ce
treebc4ca6dd3cbfa230de486d79480f7a99bbfb6232
parent992c5ddaf1b8b85d2252339c4c89adf7469c09ca
block: add end_queued_request() and end_dequeued_request() helpers

We can use this helper in the elevator core for BLKPREP_KILL, and it'll
also be useful for the empty barrier patch.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/elevator.c
block/ll_rw_blk.c
include/linux/blkdev.h