Fix incorrect backport of nvme-fc ioerr_work cancel_work_sync()
Status from this message: This is a note to let you know that I've just added the patch titled
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Revert "nvme: nvme-fc: Ensure ->ioerr_work is cancelled in nvme_fc_delete_ctrl()"drivers/ | +1 | 1 reply | |
| 2/2 | nvme: nvme-fc: Ensure ->ioerr_work is cancelled in nvme_fc_delete_ctrl()drivers/ | +1 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Marco Patalano | Justin Tee |
|---|---|---|
| 1/2 | ||
| 2/2 | T-b T-b | R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 5.15.y 0/2] Fix incorrect backport of nvme-fc ioerr_work cancel_work_sync()
The backport of upstream commit 0a2c5495b6d1 ("nvme: nvme-fc: Ensure ->ioerr_work is cancelled in nvme_fc_delete_ctrl()") to linux-5.15.y was incorrectly applied as commit 60ba31330faf.
The original upstream fix moves the cancel_work_sync(&ctrl->ioerr_work) call within nvme_fc_delete_ctrl() to after nvme_fc_delete_association(), so that ->ioerr_work is not running when the nvme_fc_ctrl object is freed. However, the stable backport mistakenly placed the cancel_work_sync() call in nvme_fc_reset_ctrl_work() instead of nvme_fc_delete_ctrl(), leaving the original bug unfixed while introducing an unnecessary change to the reset path.
This series reverts the broken backport and then applies the fix correctly.
Jaskaran Singh (2):
Revert "nvme: nvme-fc: Ensure ->ioerr_work is cancelled in nvme_fc_delete_ctrl()"
nvme: nvme-fc: Ensure ->ioerr_work is cancelled in nvme_fc_delete_ctrl()
drivers/nvme/host/fc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.43.7