Skip to content
Commit 66144d83 authored by Jens Axboe's avatar Jens Axboe Committed by Greg Kroah-Hartman
Browse files

pktcdvd: check for NULL returna fter calling bio_split_to_limits()



commit 3e9900f3 upstream.

The revert of the removal of this driver happened after we fixed up
the split limits for NOWAIT issue, hence it got missed. Ensure that
we check for a NULL bio after splitting, in case it should be retried.

Marking this as fixing both commits, so that stable backport will do
this correctly.

Cc: stable@vger.kernel.org
Fixes: 9cea62b2 ("block: don't allow splitting of a REQ_NOWAIT bio")
Fixes: 4b83e99e ("Revert "pktcdvd: remove driver."")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 64152e05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment