projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
zbd: remove zbd_zoned_model ZBD_IGNORE
[fio.git]
/
oslib
/
linux-blkzoned.c
diff --git
a/oslib/linux-blkzoned.c
b/oslib/linux-blkzoned.c
index 6f89ec6f414e63c6a9bf6691a10dfc6723a29451..4e441d29b8de2b4173684f8f5d79744192dd0bff 100644
(file)
--- a/
oslib/linux-blkzoned.c
+++ b/
oslib/linux-blkzoned.c
@@
-140,10
+140,8
@@
int blkzoned_get_zoned_model(struct thread_data *td, struct fio_file *f,
{
char *model_str = NULL;
- if (f->filetype != FIO_TYPE_BLOCK) {
- *model = ZBD_IGNORE;
- return 0;
- }
+ if (f->filetype != FIO_TYPE_BLOCK)
+ return -EINVAL;
*model = ZBD_NONE;