Commit 3e9900f
committed
pktcdvd: check for NULL returna fter calling bio_split_to_limits()
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: [email protected]
Fixes: 9cea62b ("block: don't allow splitting of a REQ_NOWAIT bio")
Fixes: 4b83e99 ("Revert "pktcdvd: remove driver."")
Signed-off-by: Jens Axboe <[email protected]>1 parent 216f764 commit 3e9900f
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2400 | 2400 | | |
2401 | 2401 | | |
2402 | 2402 | | |
| 2403 | + | |
| 2404 | + | |
2403 | 2405 | | |
2404 | 2406 | | |
2405 | 2407 | | |
| |||
0 commit comments