projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b85024
)
splice: fix fallback from copy vmsplice to nothing
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 16 Oct 2007 07:44:47 +0000
(09:44 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 16 Oct 2007 07:44:47 +0000
(09:44 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/splice.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/splice.c
b/engines/splice.c
index 868f6e0d3b6977ee3b9b0dea52ba3c52045c90b8..5a288b5532c013d7e3cb8d58a6c131b76c488d82 100644
(file)
--- a/
engines/splice.c
+++ b/
engines/splice.c
@@
-130,6
+130,10
@@
restart:
munmap(map, mmap_len);
goto restart;
}
+ if (errno == EBADF) {
+ ret = -EBADF;
+ break;
+ }
td_verror(td, errno, "vmsplice");
break;
} else if (!ret) {