[PATCH] Remove ->waiting member from struct request
As the comments indicates in blkdev.h, we can fold it into ->end_io_data usage as that is really what ->waiting is. Fixup the users of blk_end_sync_rq(). Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
8a8e674cb1
commit
c00895ab2f
9 changed files with 20 additions and 25 deletions
|
@ -266,7 +266,6 @@ struct request {
|
|||
request_queue_t *q;
|
||||
struct request_list *rl;
|
||||
|
||||
struct completion *waiting;
|
||||
void *special;
|
||||
char *buffer;
|
||||
|
||||
|
@ -285,7 +284,7 @@ struct request {
|
|||
int retries;
|
||||
|
||||
/*
|
||||
* completion callback. end_io_data should be folded in with waiting
|
||||
* completion callback.
|
||||
*/
|
||||
rq_end_io_fn *end_io;
|
||||
void *end_io_data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue