projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f37bdd4
)
engines/io_uring: don't use abs() on an unsigned value
author
Jens Axboe
<axboe@kernel.dk>
Thu, 26 Sep 2024 21:04:35 +0000
(15:04 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 26 Sep 2024 21:04:35 +0000
(15:04 -0600)
It doesn't make any sense, for obvious reasons.
Fixes:
ebe67b667f25
("io_uring: Add IO_U_F_DEVICE_ERROR to identify error types")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/io_uring.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/io_uring.c
b/engines/io_uring.c
index 5e086914e5dd0e738093821d43aefd894607b331..6c07c1011c409def36371d391f92cb3ba0e4a3ff 100644
(file)
--- a/
engines/io_uring.c
+++ b/
engines/io_uring.c
@@
-589,7
+589,7
@@
ret:
io_u_set(td, io_u, IO_U_F_DEVICE_ERROR);
else
io_u_clear(td, io_u, IO_U_F_DEVICE_ERROR);
- io_u->error =
abs(io_u->error)
;
+ io_u->error =
io_u->error
;
return io_u;
}