scsi: centralize command re-queueing in scsi_dispatch_fn
authorChristoph Hellwig <hch@lst.de>
Wed, 25 Jun 2014 23:22:32 +0000 (17:22 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 2 Apr 2015 18:12:27 +0000 (12:12 -0600)
commit04e4f650fd3d2cb98f25cccb6414904812bb372d
tree18a272a786130c8742ebb697f132d29d688c8a11
parent424a82e8b8363c455b1cd36bd281b28d649a360b
scsi: centralize command re-queueing in scsi_dispatch_fn

Make sure we only have the logic for requeing commands in one place.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/scsi.c
drivers/scsi/scsi_lib.c