projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3c3a50
)
Avoid needless telldir() call.
author
Nikolaus Rath
<Nikolaus@rath.org>
Sat, 24 Nov 2018 20:27:12 +0000
(20:27 +0000)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Sat, 24 Nov 2018 20:55:23 +0000
(20:55 +0000)
example/passthrough_ll.c
patch
|
blob
|
history
diff --git
a/example/passthrough_ll.c
b/example/passthrough_ll.c
index a745220dae78cbf020eddf93bc6905887f80708b..eadad3a0a3c8324c70531aab1b50066b99001648 100644
(file)
--- 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) {