Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2011-05-19 | Disable splice by default | Miklos Szeredi | -6/+25 | |
Disable splice by default, add "splice_read", "splice_write" and "splice_move" options. Keep the "no_splice_*" variants, which can disable splice even if the filesystem explicitly enables it. | ||||
2011-05-19 | Don't hide output of /bin/mount | Miklos Szeredi | -10/+0 | |
2011-04-15 | Added changelog entry for the auto_unmount option | Max Krasnyansky | -0/+4 | |
2011-04-15 | fusermount: Added support for auto_unmount option | Max Krasnyansky | -14/+49 | |
When this option is specified fusermount will become a daemon and wait for the parent to exit or die, which causes control fd to get closed. It will then try to unmount the original mountpoint. | ||||
2011-04-15 | libfuse: Added support for auto_unmount option | Max Krasnyansky | -8/+27 | |
This change adds support for "auto_unmount" option to libfuse. auto_umount option unmounts the fs automatically on application termination, whether normal or not (segfault, etc). When auto_unmount option is specified libfuse will alway use fusermount for mounting the fs. This change is selfcontained but for complete functionaly it requires auto_unmount support in fusermount tool. | ||||
2011-03-30 | Update ChangeLog | Miklos Szeredi | -0/+5 | |
Patches by Laszlo Papp fixing various issues found by the Coverity checker. | ||||
2011-03-30 | Check the 'mtablock' for negative value | Laszlo Papp | -2/+4 | |
2011-03-30 | Fix a potential null pointer dereference issue | Laszlo Papp | -1/+2 | |
2011-03-30 | Fix a potential resource leak (newargv) | Laszlo Papp | -2/+7 | |
2011-03-30 | Initialize an allocated, but uninitialized memory | Laszlo Papp | -1/+1 | |
2011-03-30 | Initialize the variable properly before passing to any function | Laszlo Papp | -0/+1 | |
2011-03-30 | fusermount: clean up do_mount() function | Miklos Szeredi | -5/+4 | |
2011-03-30 | Remove unnecessary variable assignment | Miklos Szeredi | -1/+0 | |
2011-03-30 | Eliminate the unused value | Laszlo Papp | -1/+1 | |
2011-03-30 | Fix use after free if fuse_reply...() returned ENOENT | Miklos Szeredi | -6/+0 | |
2011-03-30 | Fix resource leaks in fusermount | Laszlo Papp | -8/+10 | |
2011-03-30 | Fix a possible resource leak (free the old up) | Laszlo Papp | -0/+4 | |
2011-03-30 | Do not pass NULL to xstrdup | Laszlo Papp | -8/+12 | |
2011-03-30 | Check the return value properly before passing it to any function | Laszlo Papp | -2/+4 | |
2011-03-30 | Fix a potential resource leak | Laszlo Papp | -1/+3 | |
2011-03-30 | Use the return value for error check | Laszlo Papp | -3/+2 | |
2011-03-30 | Check the return value after an open syscall | Laszlo Papp | -2/+4 | |
2011-03-30 | Check the negative return value after an open syscall | Laszlo Papp | -2/+4 | |
2011-03-11 | In case of failure to add to /etc/mtab don't umount. | Miklos Szeredi | -1/+6 | |
Reported by Marc Deslauriers | ||||
2011-03-11 | Revert "Fix cleanup in case of failed mount" | Miklos Szeredi | -33/+6 | |
This reverts commit bf5ffb5fd8558bd799791834def431c0cee5a11f. Cleanup of mount doesn't work the way it was envisioned, because the kernel doesn't follow mounts on the umount() call, hence it will find a non-mounted directory. | ||||
2011-02-17 | Add -onoforget to help output | Miklos Szeredi | -0/+1 | |
2011-02-02 | libfuse: fuse_session_loop_mt() shouldn't pause when exiting worker threads | Miklos Szeredi | -2/+8 | |
In fuse_session_loop_mt() don't pause when exiting the worker threads. The pause() was added in 2.2.1 to prevent segfault on pthread_cancel() on an exited, detached thread. Now worker threads are not detached and pthread_cancel() should work fine even after the thread exited. Reported by Boris Protopopov | ||||
2011-01-31 | fusermount: only allow mount and umount if util-linux suppports ↵ | Miklos Szeredi | -212/+36 | |
--no-canonicalize Remove "legacy" util-linux support as missing --no-canonicalize cannot be worked around in fuse. | ||||
2011-01-31 | fusermount: chdir to / before performing mount/umount | Miklos Szeredi | -15/+12 | |
2011-01-31 | Fix cleanup in case of failed mount | Miklos Szeredi | -6/+34 | |
In case of failure to add to /etc/mtab use same mountpoint for cleanup as for mounting. Reported by Marc Deslauriers | ||||
2011-01-31 | Fix warning in hash calculation | Miklos Szeredi | -1/+1 | |
Fix the following warning: fuse.c:436: warning: this decimal constant is unsigned only in ISO C90 | ||||
2010-12-20 | Highlevel lib: add slab allocation for node cache | Miklos Szeredi | -9/+184 | |
This will allow the memory used by the filesystem to grow and shrink depending on how many inodes are currently cached. | ||||
2010-12-20 | inline short names | Miklos Szeredi | -13/+16 | |
In the high level library store names shorter than 32 characters inside "struct node". Longer names are allocated as previously. | ||||
2010-12-20 | Highlevel lib: allow hash tables to shrink | Miklos Szeredi | -1/+81 | |
Allow hash tables to shrink as well as grow. | ||||
2010-12-13 | Highlevel lib: use dynamically resized hash table | Miklos Szeredi | -43/+158 | |
Use dynamically resized hash table for looking up by name and node ID. The chosen implementation is linear hashing, which features gradual rehashing when while the size of the table increases. | ||||
2010-11-12 | Fix fuse_buf_copy_flags values | Miklos Szeredi | -2/+2 | |
Reported-by: Goswin von Brederlow <goswin-v-b@web.de> | ||||
2010-11-12 | update test/.gitignore | Miklos Szeredi | -0/+1 | |
2010-11-10 | fusexmp_fh: add read_buf and write_buf implementations | Miklos Szeredi | -0/+42 | |
In fusexmp_fh implement the ->read_buf() and ->write_buf() methods. Leave the ->read() and ->write() implementations for reference, even though they are not necessary. | ||||
2010-11-10 | add read_buf method to high level API | Miklos Szeredi | -31/+108 | |
Add a new read_buf() method to the highlevel API. This allows returning a generic buffer from the read method, which in turn allows zero copy reads. | ||||
2010-11-10 | add write_buf method to high level API | Miklos Szeredi | -17/+83 | |
Add new write_buf() method to the highlevel API. Similarly to the lowlevel write_buf() method, this allows implementing zero copy writes. | ||||
2010-11-10 | fuse_buf_copy: check if buffers are the same | Miklos Szeredi | -1/+13 | |
When copying fuse buffers, check if the source and destination are the same and omit the copy as appropriate. Also check if the source and destination memory regions overlap and use memmove in that case. | ||||
2010-11-10 | store fuse_buf inside fuse_bufvec | Miklos Szeredi | -76/+73 | |
Store the first fuse_buf inside fuse_bufvec. This makes initialization of fuse_bufvec simpler for the common case of a single fuse_buf. If multiple fuse_buf's are needed then fuse_bufvec needs to be dynamically allocated. | ||||
2010-11-10 | bump the API version as well to 2.9 | Miklos Szeredi | -1/+1 | |
2010-11-08 | libfuse: add retrieve request | Miklos Szeredi | -3/+226 | |
Retrieve data stored in the kernel buffers for a given inode. | ||||
2010-11-08 | fix changelog | Miklos Szeredi | -3/+3 | |
2010-11-08 | fix pipe cleanup in do_write_buf() | Miklos Szeredi | -2/+4 | |
2010-11-08 | Fix st_nlink for unlinked but still open files | Miklos Szeredi | -5/+12 | |
Fix st_nlink value in high level lib if file is unlinked but still open | ||||
2010-11-08 | Add ctx->pid to debug output | Miklos Szeredi | -2/+4 | |
2010-11-08 | libfuse: add store request | Miklos Szeredi | -84/+162 | |
Request data to be stored in the kernel buffers for a given inode. | ||||
2010-11-08 | fusermount: don't save/restore cwd | Miklos Szeredi | -15/+5 | |
Remove unnecessary restoring of current working directory in "fusermount -u" |