diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2007-03-14 09:13:27 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2007-03-14 09:13:27 +0000 |
commit | 2f759e1950e3908eb48fc000e88e0159649d8632 (patch) | |
tree | 32caeb503d8eca18617a1d3c092cb08ffb48ecac /lib | |
parent | 3a7c00ec0c156123c47b53ec1cd7ead001fa4dfb (diff) | |
download | libfuse-2f759e1950e3908eb48fc000e88e0159649d8632.tar.gz |
Correctly handle O_APPEND in direct IO mode
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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++; |