From: Nikolaus Rath Date: Sat, 24 Nov 2018 20:27:12 +0000 (+0000) Subject: Avoid needless telldir() call. X-Git-Tag: fuse-3.4.1~2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d1ab94c3551ebdeb4fbfbd12db930f4c20a3a889;p=qemu-gpiodev%2Flibfuse.git Avoid needless telldir() call. --- diff --git a/example/passthrough_ll.c b/example/passthrough_ll.c index a745220..eadad3a 100644 --- a/example/passthrough_ll.c +++ b/example/passthrough_ll.c @@ -698,7 +698,7 @@ static void lo_do_readdir(fuse_req_t req, fuse_ino_t ino, size_t size, break; } } - nextoff = telldir(d->dp); + nextoff = d->entry->d_off; name = d->entry->d_name; fuse_ino_t entry_ino = 0; if (plus) {