projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Only set O_RDWR for open() when readonly isn't set
[fio.git]
/
smalloc.c
diff --git
a/smalloc.c
b/smalloc.c
index 85da7811c521f04b476d5fed1ff17c9dd811af7c..b7502dc9616a25b0292947c51be0b4daf2022487 100644
(file)
--- a/
smalloc.c
+++ b/
smalloc.c
@@
-364,7
+364,7
@@
restart:
do {
if (combine(pool, prv, hdr))
hdr = prv;
-
+
if (hdr_free(hdr) && hdr_size(hdr) >= size)
break;