blk-mq: release driver tag on a requeue event
authorJens Axboe <axboe@fb.com>
Thu, 26 Jan 2017 19:32:32 +0000 (12:32 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 27 Jan 2017 15:20:32 +0000 (08:20 -0700)
commit99cf1dc580f0766825395aae4f60ec1d8438f011
treeaba73ea31e8835977afc3c7291af3233afed7113
parent3c782d67c16889d753a79a8da5422c583d7cfd51
blk-mq: release driver tag on a requeue event

We don't want to hold on to this resource when we have a scheduler
attached.

Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Tested-by: Hannes Reinecke <hare@suse.com>
block/blk-mq.c