diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2018-11-24 20:27:12 +0000 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2018-11-24 20:55:23 +0000 |
commit | d1ab94c3551ebdeb4fbfbd12db930f4c20a3a889 (patch) | |
tree | 9c20e5d2a585d09eb5546e0fbe67c35cc3195a46 /example/passthrough_ll.c | |
parent | c3c3a500a5ef00456f9e555448071f8520aee8a4 (diff) | |
download | libfuse-d1ab94c3551ebdeb4fbfbd12db930f4c20a3a889.tar.gz |
Avoid needless telldir() call.
Diffstat (limited to 'example/passthrough_ll.c')
-rw-r--r-- | example/passthrough_ll.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |