summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/internal/tpax_driver_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/tpax_driver_impl.h b/src/internal/tpax_driver_impl.h
index 9860717..2aca3d1 100644
--- a/src/internal/tpax_driver_impl.h
+++ b/src/internal/tpax_driver_impl.h
@@ -83,6 +83,7 @@ struct tpax_driver_ctx_impl {
void * dirbuff;
void * bufaddr;
size_t bufsize;
+ size_t nqueued;
off_t cpos;
};
@@ -225,6 +226,7 @@ static inline void tpax_set_driver_dirmark(const struct tpax_driver_ctx * dctx,
struct tpax_driver_ctx_impl * ictx;
ictx = tpax_get_driver_ictx(dctx);
ictx->dirmark = dirent;
+ ictx->nqueued++;
}
static inline off_t tpax_get_unit_hpos(const struct tpax_unit_ctx * uctx)