diff options
author | Ian Moffett <ian@osmora.org> | 2024-07-24 20:03:38 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-07-24 20:03:38 -0400 |
commit | 5841f047441c21de3d0ff45d90822514977f499e (patch) | |
tree | 8ea8bebe200a7ba78664129effdfefe8fd9076f4 | |
parent | 5b55fd174ae878567846cc14af1bb9c35b668dd0 (diff) |
kernel: nvme: Set write op to nowrite
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/dev/ic/nvme.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |