diff --git a/src/fuse_readdir_cor.hpp b/src/fuse_readdir_cor.hpp index 711d7691..c2d87cce 100644 --- a/src/fuse_readdir_cor.hpp +++ b/src/fuse_readdir_cor.hpp @@ -33,9 +33,12 @@ namespace FUSE unsigned max_queue_depth); ~ReadDirCOR(); - int operator()(const fuse_req_ctx_t *ctx, - const fuse_file_info_t *ffi, - fuse_dirents_t *buf); + int opendir(const fuse_req_ctx_t *ctx, + const char *fusepath, + fuse_file_info_t *ffi); + int readdir(const fuse_req_ctx_t *ctx, + const fuse_file_info_t *ffi, + fuse_dirents_t *buf); private: mutable ThreadPool _tp;