Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-03-22 | Remove support for FUSE compatibility < 25 | Pino Toscano | |
While the default FUSE_USE_VERSION is 21, compatibility versions below 25 are rarely (if at all) used; keeping support for them is not worth, especially than they require a number of special casings all around (different fuse_operations and fuse_file_info). * src/fuse_i.h (fuse_ops_compat22, fuse_ops_compat2): Remove. (FUSE_OP_HAVE, FUSE_OP_CALL): Use only fuse_ops25. (FUSE_OP_HAVE22, FUSE_OP_CALL22): Remove. (NN_INFO, NN_INFO_APPLY): Use only info25. (struct netnode): Remove field 'compat22' in field union 'info'. * src/main.c (fuse_ops_compat22, fuse_ops_compat2, fuse_main_compat2) (fuse_main_compat2, fuse_main_real_compat22, fuse_new_compat2) (fuse_new_compat22, fuse_mount_compat22): Remove. * src/netfs.c (netfs_attempt_statfs, netfs_attempt_sync, netfs_attempt_write) (netfs_attempt_read, fuse_get_inode, get_dirents_getdir, get_dirents_readdir) (netfs_get_dirents): Use only FUSE_OP_CALL and FUSE_OP_HAVE. (get_dirents_getdir_helper_compat): Remove. * src/netnode.c (fuse_sync_filesystem): Use only FUSE_OP_CALL and NN_INFO. | |||
2013-03-21 | Initialize correctly new netnode instances | Pino Toscano | |
A couple of variables were left uninitialized, leading to unlink (wrongly) nodes. Switch to calloc to make sure everything is properly reset. * src/netnode.c (fuse_make_netnode): Use calloc instead of malloc. | |||
2013-02-11 | Fix build against libpthread | Samuel Thibault | |
* configure.ac: Link against libpthread instead of libthreads. * fuse.pc.in: Likewise. * src/fuse_i.h (libfuse_ctx): Declare TLS variable. (netnode): Turn lock field from struct mutex to pthread_mutex_t. * src/main.c (libfuse_ctx): Define TLS variable. (fuse_get_context): Use libfuse_ctx instead of cthreads TSD. * src/netfs.c: Likewise. Use pthread functions instead of cthreads functions. Use fixed stat structure. * src/netnode.c: Likewise. * src/node.c: Likewise. | |||
2006-08-05 | changed hashing algo to use some prime magic, fixed routines to use unsigned ↵ | Stefan Siegl | |
integers | |||
2006-04-13 | pulled in headers from fuse 2.5.3 and added examples. fuse_ops variable ↵ | Stefan Siegl | |
renamed to fuse_ops_compat22 (to make room for 2.5 api functions). | |||
2006-01-30 | moved headers into new include/ directory, sources moved into new src/ ↵ | Stefan Siegl | |
directory. |