diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-06-20 12:02:08 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-06-20 14:26:09 -0400 |
commit | a1490d98a1aebb3bfbd3873613977d0341ec7f98 (patch) | |
tree | 1320ab9e60b30621fedf29c50d42135dac8b4a2f /src/ioq.h | |
parent | 4889f3ebb59c926b8e53a2e12edd5009d7cd4cbe (diff) | |
download | bfs-a1490d98a1aebb3bfbd3873613977d0341ec7f98.tar.xz |
dir: Arena-allocate directories
Diffstat (limited to 'src/ioq.h')
-rw-r--r-- | src/ioq.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -45,6 +45,8 @@ struct ioq *ioq_create(size_t depth, size_t nthreads); * * @param ioq * The I/O queue. + * @param dir + * The allocated directory. * @param dfd * The base file descriptor. * @param path @@ -54,7 +56,7 @@ struct ioq *ioq_create(size_t depth, size_t nthreads); * @return * 0 on success, or -1 on failure. */ -int ioq_opendir(struct ioq *ioq, int dfd, const char *path, void *ptr); +int ioq_opendir(struct ioq *ioq, struct bfs_dir *dir, int dfd, const char *path, void *ptr); /** * Pop a response from the queue. |