git: e4b1ae214715 - main - ndaasync: sync to SCSI's daasyncs cam_periph_async() calls

From: Warner Losh <imp_at_FreeBSD.org>
Date: Tue, 26 Apr 2022 17:01:37 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=e4b1ae214715cedcf844ffa29c659830e7cc064c

commit e4b1ae214715cedcf844ffa29c659830e7cc064c
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-04-26 17:01:16 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-04-26 17:01:39 +0000

    ndaasync: sync to SCSI's daasyncs cam_periph_async() calls
    
    Sponsored by:           Netflix
    Reviewed by:            mav
    Differential Revision:  https://reviews.freebsd.org/D35059
---
 sys/cam/nvme/nvme_da.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/cam/nvme/nvme_da.c b/sys/cam/nvme/nvme_da.c
index c7cedec894ac..1bd476910269 100644
--- a/sys/cam/nvme/nvme_da.c
+++ b/sys/cam/nvme/nvme_da.c
@@ -698,9 +698,9 @@ ndaasync(void *callback_arg, u_int32_t code,
 	}
 	case AC_LOST_DEVICE:
 	default:
-		cam_periph_async(periph, code, path, arg);
 		break;
 	}
+	cam_periph_async(periph, code, path, arg);
 }
 
 static void