Patch "loop: return proper error from loop_queue_rq()" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
loop: return proper error from loop_queue_rq()
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
loop-return-proper-error-from-loop_queue_rq.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
b4a567e8114327518c09f5632339a5954ab975a3Mon Sep 17 00:00:00 2001
From: Omar Sandoval <[email protected]>
Date: Mon, 14 Nov 2016 14:56:17 -0800
Subject: loop: return proper error from loop_queue_rq()
From: Omar Sandoval <[email protected]>
commit b4a567e8114327518c09f5632339a5954ab975a3 upstream.
->queue_rq() should return one of the BLK_MQ_RQ_QUEUE_* constants, not an errno.
--- drivers/block/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/loop.c +1 -1
@@ -1646,7 +1646,7 @@ static int loop_queue_rq(struct blk_mq_hblk_mq_start_request (bd->rq);if (lo->lo_state != Lo_bound) -return -EIO ; +return BLK_MQ_RQ_QUEUE_ERROR ;switch (req_op (cmd->rq)) {case REQ_OP_FLUSH :
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/loop-return-proper-error-from-loop_queue_rq.patch