mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
commit3e9900f3bdupstream. 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:9cea62b2cb("block: don't allow splitting of a REQ_NOWAIT bio") Fixes:4b83e99ee7("Revert "pktcdvd: remove driver."") Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>