projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
engines/xnvme: fix fdp support for userspace drivers
[fio.git]
/
engines
/
xnvme.c
diff --git
a/engines/xnvme.c
b/engines/xnvme.c
index ce7b2bdd4bc6aee56cf6cb327b915668adee00c0..b782401363c39f3f04e3446269797452192bba55 100644
(file)
--- a/
engines/xnvme.c
+++ b/
engines/xnvme.c
@@
-964,7
+964,7
@@
static int xnvme_fioe_fetch_ruhs(struct thread_data *td, struct fio_file *f,
uint32_t nsid;
int err = 0, err_lock;
- if (f->filetype != FIO_TYPE_CHAR) {
+ if (f->filetype != FIO_TYPE_CHAR
&& f->filetype != FIO_TYPE_FILE
) {
log_err("ioeng->fdp_ruhs(): ignoring filetype: %d\n", f->filetype);
return -EINVAL;
}