From 2f759e1950e3908eb48fc000e88e0159649d8632 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 14 Mar 2007 09:13:27 +0000 Subject: Correctly handle O_APPEND in direct IO mode --- lib/fuse.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/fuse.c') diff --git a/lib/fuse.c b/lib/fuse.c index bc944c7..78a2547 100644 --- a/lib/fuse.c +++ b/lib/fuse.c @@ -3266,6 +3266,7 @@ static struct fuse *fuse_new_common_compat25(int fd, struct fuse_args *args, main() has been called) */ void fuse_register_module(struct fuse_module *mod) { + mod->ctr = 0; mod->so = fuse_current_so; if (mod->so) mod->so->ctr++; -- cgit v1.2.3