diff options
author | Jens Axboe <[email protected]> | 2023-01-16 08:51:05 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-01-16 08:51:05 -0700 |
commit | 3e9900f3bd7ba30d60f82b162b70a1dffe4e8e24 (patch) | |
tree | 2d8630a47fc5f9e8805ec923334f8e596816275b /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 216f764716f34fe68cedc7296ae2043a7727e640 (diff) |
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: 9cea62b2cbab ("block: don't allow splitting of a REQ_NOWAIT bio")
Fixes: 4b83e99ee709 ("Revert "pktcdvd: remove driver."")
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions