We already check for started commands in all callbacks, but we should
also protect against already completed commands. Do this by taking
the checks to common code.
Signed-off-by: Christoph Hellwig
---
block/blk-mq-tag.c| 2 +-
drivers/block/mtip32xx/mtip32xx.c | 12 ++--
On Wed, May 30, 2018 at 06:51:00PM +0200, Christoph Hellwig wrote:
> We already check for started commands in all callbacks, but we should
> also protect against already completed commands. Do this by taking
> the checks to common code.
>
> Signed-off-by: Christoph Hellwig
Acked-by: Josef Bacik
On 5/30/18 10:51 AM, Christoph Hellwig wrote:
> We already check for started commands in all callbacks, but we should
> also protect against already completed commands. Do this by taking
> the checks to common code.
Looks good, applied.
--
Jens Axboe