summaryrefslogtreecommitdiffstats
path: root/src/ioq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ioq.c')
-rw-r--r--src/ioq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ioq.c b/src/ioq.c
index e09c2a9..1b61fb0 100644
--- a/src/ioq.c
+++ b/src/ioq.c
@@ -155,6 +155,7 @@ static void *ioq_work(void *ptr) {
sanitize_uninit(cmd);
struct ioq_res *res = &cmd->res;
+ res->ptr = req.ptr;
res->dir = bfs_opendir(req.dfd, req.path);
res->error = errno;
ioqq_push(ioq->ready, cmd);