227 * If trans failed earlier, detect that and return an error. |
227 * If trans failed earlier, detect that and return an error. |
229 void dbfs_readdir (struct fuse_req *req, fuse_ino_t ino, size_t size, off_t off, struct fuse_file_info *fi) { |
229 void dbfs_readdir (struct fuse_req *req, fuse_ino_t ino, size_t size, off_t off, struct fuse_file_info *fi) { |
235 if ((dirop = (struct dbfs_dirop *) dbfs_op_req(req, ino, fi)) == NULL) |
235 if ((dirop = (struct dbfs_dirop *) dbfs_op_req(req, ino, fi)) == NULL) |
238 INFO("[dbfs.readdir %p:%p] ino=%lu, size=%zu, off=%zu, fi=%p : trans=%p", dirop, req, ino, size, off, fi, dirop->base.trans); |
238 INFO("[dbfs.readdir %p:%p] ino=%lu, size=%zu, off=%zu, fi=%p : trans=%p", dirop, req, ino, size, off, fi, dirop->base.trans); |
241 if (dirbuf_init(&dirop->dirbuf, size, off)) |
241 if (dirbuf_init(&dirop->dirbuf, size, off)) |