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:
35a0a60
)
fix
author
Miklos Szeredi
<miklos@szeredi.hu>
Fri, 21 Jan 2005 11:18:35 +0000
(11:18 +0000)
committer
Miklos Szeredi
<miklos@szeredi.hu>
Fri, 21 Jan 2005 11:18:35 +0000
(11:18 +0000)
ChangeLog
patch
|
blob
|
history
lib/fuse.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index b6a9af0656d0da48e49547d0f72750cae0471e07..d0e0e9e083813e82bbca314feaae6897fd096a8a 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,7
@@
+2005-01-21 Miklos Szeredi <miklos@szeredi.hu>
+
+ * LIB: fix double reply in readdir operation
+
2005-01-20 Miklos Szeredi <miklos@szeredi.hu>
* KERNEL: provide correct llseek semantics for fuse device (fixes
diff --git
a/lib/fuse.c
b/lib/fuse.c
index 8154feb5a34b5ae643e31cbaf2ef3368ab69bf5d..f80485df3bec4b41e971f4793ba811539f78c6d1 100644
(file)
--- a/
lib/fuse.c
+++ b/
lib/fuse.c
@@
-1580,8
+1580,10
@@
static void do_readdir(struct fuse *f, struct fuse_in_header *in,
if (!dh->filled) {
res = common_getdir(f, in, dh);
- if (res)
+ if (res)
{
send_reply(f, in, res, NULL, 0);
+ return;
+ }
dh->filled = 1;
}
outbuf = (char *) malloc(sizeof(struct fuse_out_header) + arg->size);