--- a/src/dbfs/interrupt.c Wed Nov 19 19:06:10 2008 +0200
+++ b/src/dbfs/interrupt.c Thu Nov 20 01:16:24 2008 +0200
@@ -18,15 +18,20 @@
// abort query
evsql_query_abort(NULL, query);
+
+ // error the req
+ if ((err = -fuse_reply_err(req, EINTR)))
+ EWARNING(err, "fuse_reply_err");
/*
* Due to a locking bug in libfuse (at least 2.7.4), we can't call fuse_reply_err from the interrupt function, so we must
* schedule after this function returns.
- */
+ * /
tv.tv_sec = 0;
tv.tv_usec = 0;
if (event_base_once(ctx->ev_base, -1, EV_TIMEOUT, _dbfs_interrupt_reply, req, &tv))
PWARNING("event_base_once failed, dropping req reply: %p", req);
+ */
}
void _dbfs_interrupt_ctx (struct fuse_req *req, void *ctx_ptr) {