From 5841f047441c21de3d0ff45d90822514977f499e Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 24 Jul 2024 20:03:38 -0400 Subject: kernel: nvme: Set write op to nowrite Signed-off-by: Ian Moffett --- sys/dev/ic/nvme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c index f3a16ce..ac6fb74 100644 --- a/sys/dev/ic/nvme.c +++ b/sys/dev/ic/nvme.c @@ -654,7 +654,8 @@ nvme_init(void) } static struct bdevsw nvme_bdevsw = { - .read = nvme_dev_read + .read = nvme_dev_read, + .write = nowrite }; DRIVER_EXPORT(nvme_init); -- cgit v1.2.3