From d1ab94c3551ebdeb4fbfbd12db930f4c20a3a889 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Sat, 24 Nov 2018 20:27:12 +0000 Subject: [PATCH] Avoid needless telldir() call. --- example/passthrough_ll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2