aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fuse: Reduce code size and allow static compilationcm-11.0-XNPH44S-bacon-5fa8c79c0bcm-11.0-XNPH33R-bacon-3628510d76cm-11.0-XNPH30O-bacon-4f280f505acm-11.0-XNPH25R-bacon-d22b777afacm-11.0-XNPH22R-bacon-03d77315eacm-11.0-XNPH05Q-tomato-9828f8e9cccm-11.0-XNPH05Q-bacon-5229c4ef56cm-10.2.1cm-10.2.0cm-10.2-M1staging/cm-12.0-cafstable/cm-11.0-XNG3Cstable/cm-11.0-XNG2Sstable/cm-11.0-XNF9Xstable/cm-11.0-XNF8Ystable/cm-11.0stable/cm-10.2shipping/cm-11.0cm-11.0cm-10.2Steve Kondik2013-08-192-3/+20
| | | | Change-Id: Ibbd06ba24020bbad4959e298c5c1a595781c579c
* Allow building when strict aliasingcm-10.1.3-RC2cm-10.1.3-RC1cm-10.1.3cm-10.1DHOMD2013-07-171-2/+2
| | | | | | PS2 - As Dhacker adaptly pointed out the name was misleading. Change-Id: Ie6201963535d9ff7db7a12bb53fcb4b437962d74
* Add missing config.h for AndroidSteve Kondik2013-07-072-1/+87
| | | | Change-Id: I4c815f23216dc25b24f50d1a2967f89d34c6feb6
* Support for building on AndroidSteve Kondik2013-07-0717-13/+237
|
* Released 2.9.3Miklos Szeredi2013-07-013-2/+6
|
* libfuse: don't close fd if it's -1Miklos Szeredi2013-07-011-1/+4
| | | | This prevents a valgrind warning.
* libfuse: fix multiple close of device fdMiklos Szeredi2013-07-016-11/+34
| | | | | | | | | | | | - fuse_kern_unmount closes handle (e.g. 19) - a thread in my process opens a file - the OS assigns newly freed handle (i.e. 19) - fuse_kern_chan_destroy closes the same handle (i.e. 19) - a thread in my process opens another file - the OS assigns newly freed handle (i.e. 19) - * MAYHEM * Reported by Dan Greenfield
* libfuse: fix thread cancel raceMiklos Szeredi2013-03-192-0/+8
| | | | | | | | Exiting a worker my race with cancelling that same worker. This caused a segmenation fault. Reported and tested by Anatol Pomozov
* Add "nopath" to help.Miklos Szeredi2013-02-181-0/+1
|
* libfuse: rename ./configure.in to ./configure.acAnatol Pomozov2013-02-042-0/+3
| | | | | | Next version of automake (1.14) removes support for the deprecated filename http://lists.gnu.org/archive/html/autotools-announce/2013-01/msg00000.html
* libfuse: Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADERAnatol Pomozov2013-02-042-1/+4
| | | | | AM_CONFIG_HEADER has been deprecated for years and autotools 1.13 removes this macros at all.
* libfuse: configure: detect new util-linuxMiklos Szeredi2013-02-042-2/+8
| | | | | | | Apparently new versions of util-linux umount return with an exit status of 1 even if the "--fake" option is recognised (despite being documented otherwise). Check this condition and don't complain about util-linux version.
* libfuse: fix the 'remember' optionMadan Valluri2013-02-042-0/+8
| | | | | | | | | | | | The lru list was not initialized for the "/" path. This resulted in remove_node_lru() crashing on LOOKUP-DOTDOT. Patch by Madan Valluri. -- ChangeLog | 4 ++++ lib/fuse.c | 4 ++++ 2 files changed, 8 insertions(+)
* libfuse: fix crash in unlock_path()Ratna_Bolla@dell.com2013-02-042-0/+6
| | | | | | | | | | | | Patch by Ratna Manoj. queue_element_unlock() should set ->first_locked and ->second_locked to false. Discovered with 'fs_racer'. The assert(wnode->treelock == TREELOCK_WRITE) in unlock_path() was hit within minutes. Miklos: simplified patch
* Released 2.9.2Miklos Szeredi2012-10-013-2/+7
|
* Fix deadlock in libfuseMiklos Szeredi2012-10-012-118/+173
| | | | | | | Running "svn update" on a fuse filesystem could deadlock because of a bug in the way the paths are locked. Reported by Kazuaki Anami
* Fix missing config.h in buffer.cMiklos Szeredi2012-08-244-0/+7
| | | | | | | | | | | | | Due to an oversight, splice will never actually be used for i/o. Someone forgot to #include "config.h" in lib/buffer.c (in fact almost no files include that header). As a result, even though configure detects splice support and puts HAVE_SPLICE in config.h, buffer.c is always compiled as if there is no splice support. Also add #include "config.h" to fuse.c and fuse_lowlevel.c. These currently include it indirectly through fuse_misc.h, but we don't want to depend on that. Reported by Matthew Gabeler-Lee
* Zero out node when allocating from a slab.Miklos Szeredi2012-08-141-10/+4
| | | | Fix compile warning when not using node slab.
* Fix "fuse internal error: node NNN not found"Miklos Szeredi2012-08-142-4/+20
| | | | | | | | | | Commit 4dc7e675bb (Don't unhash name in FORGET) broke the forget logic in a subtle way, resulting in "fuse internal error: node NNN not found" and causing the filesystem daemon to abort. Fix by incrementing the node refcount if nlookup goes from zero to one. Reported by Kyle Lippincott
* Fix linking against GNU libiconvNatanael Copa2012-08-132-1/+5
| | | | | | Use quotation marks when assigning shell variable. This broke by 384496dd02cfd9a74b95d62ce0d23a31a7af3730, most likely by mistake.
* Released 2.9.1Miklos Szeredi2012-07-193-2/+6
|
* Fix crash caused by freeing a stack addressMiklos Szeredi2012-07-192-1/+6
| | | | | | | | The failure path of try_get_path2() erronously tried to free the "path1" value (an address on the stack) instead of the allocated string pointed to by "path1". This caused the library to crash. Reported by Itay Perl
* Add fallocate to NEWSMiklos Szeredi2012-07-192-1/+4
|
* libfuse: mark some data constantMiklos Szeredi2012-07-044-6/+6
|
* Fix build with automake >= 1.12.1Olivier Blin2012-07-043-10/+8
| | | | | | | | | | | | mkdir_p is deprecated since automake 1.12.1 (see automake commit 7a1eb9ff9027929687f12905e131f6fda3fa6d0c). MKDIR_P should be used instead of mkdir_p. This is available since autoconf 2.59d (2006-06-05), by calling AC_PROG_MKDIR_P. The mkdir_p workaround was not working anyway for out-of-tree builds, since the ../mkinstalldirs path would be incorrect.
* Fix install from out-of-tree buildOlivier Blin2012-07-042-1/+6
| | | | | | | When building out-of-tree, install fails since it tries to copy mount.fuse binary from source directory. Patch initially from Damien Thébault (SoftAtHome)
* Add FALLOCATE operationAnatol Pomozov2012-06-1810-2/+152
| | | | | | fallocate filesystem operation preallocates media space for the given file. If fallocate returns success then any subsequent write to the given range never fails with 'not enough space' error.
* Fix the compile command in the examplesMiklos Szeredi2012-05-169-8/+11
| | | | Reported by Luciano Dalle Ore
* Fix -pthread in fuse.pcMiklos Szeredi2012-05-164-5/+11
| | | | | | | | Linking to a library that uses threads requires the application to be linked with -pthreads otherwise some pthread functions will be linked to stubs in glibc. So move -pthread from Libs.private to Libs in fuse.pc. Reported by Werner Fink
* Released 2.9.0Miklos Szeredi2012-04-202-1/+5
|
* Add missing fuse_fs_flock to fuse_versionscriptMiklos Szeredi2012-04-202-0/+5
|
* use flexible array in include/fuse_kernel.hMiklos Szeredi2012-04-201-1/+1
| | | | | Use the ISO C standard compliant form instead of the gcc extension in the interface definition.
* Update NEWSMiklos Szeredi2012-04-201-0/+10
|
* Add 'flag_utime_omit_ok' flag to fuse_operationsMiklos Szeredi2012-04-104-1/+41
| | | | | If the filesystem sets this flag then ->utimens() will receive UTIME_OMIT and UTIME_NOW values as specified in utimensat(2).
* Check protocol version before sending notificationsMiklos Szeredi2012-04-102-0/+14
| | | | | Check protocol version before sending notifications and return -ENOSYS if a particular notification is not supported.
* test improvementsMiklos Szeredi2012-04-061-8/+149
|
* Interpret octal escape codes in optionsMiklos Szeredi2012-01-272-2/+19
| | | | Requested by Jan Engelhardt
* clean up man pageMiklos Szeredi2012-01-261-1/+0
|
* Add doc/Makefile.amMiklos Szeredi2012-01-263-8/+8
|
* Add man pages for fusermount, mount.fuse and ulockmgr_serverMiklos Szeredi2012-01-265-0/+237
| | | | | Lifted from the Debian package. The man pages were written by Daniel Baumann and Bastien Roucaries
* Revert "Add mmap() and munmap() methods to low level API"Miklos Szeredi2012-01-247-150/+0
| | | | | | | | | | This partially reverts commit 4b2157c44e6ad7e692fcffb7450143e83151d36b. Remove mmap/munmap suppor as this missed the interface changes for Linux-3.3 (API version 7.18). Only revert the mmap/munmap bits and leave the retrieve_reply API fix in place as well as the optimization in fuse_send_data_iov_fallback().
* Disable symbol versions on MacOSXAnatol Pomozov2012-01-132-2/+10
| | | | | | MacOSX uses MachO binary format that does not support symbols. This change comes from fuse4x project (fuse implementation for macosx).
* Remove unnecessary mutex unlock at the end of multithreaded event loopMiklos Szeredi2012-01-022-1/+5
|
* Free request in fuse_reply_data()Miklos Szeredi2011-12-092-2/+6
| | | | Fix memory leak caused by a missing fuse_request_free() in fuse_reply_data().
* Don't unhash name in FORGETMiklos Szeredi2011-12-092-2/+5
| | | | | | | This resulted in ENOENT being returned for unlinked but still open files if the kernel sent a FORGET request for the parent directory. Discovered with fs_racer in LTP.
* Fix hang in wait_on_path()Miklos Szeredi2011-12-092-3/+35
| | | | | | Ville Silventoinen reported that fs_racer in LTP triggered a hang in wait_on_path(). This bug was caused by try_get_path() not resetting "ticket" on permanent failure.
* utimens availability checkEmmanuel Dreyfus2011-12-084-1/+14
| | | | | | fusexmp uses utimens and takes that function for granted. It is part of POSIX exended API set 2 and some systems do not have it yet. Attached patch checks for utimens availability and returns ENOSYS if unavailable.
* FUSE_NODE_SLAB buildfixEmmanuel Dreyfus2011-12-082-11/+16
| | | | | When FUSE_NODE_SLAB is not defined, the build fails because of undefined functions. Attached patch fixes the problem.
* fuse: documentation update for forgetNikolaus Rath2011-12-081-12/+57
| | | | Update documentation for forget and related methods
* libfuse: Notifying the kernel of deletion.John Muir2011-12-075-0/+59
| | | | | | | | | libfuse part to allow a FUSE file-system to tell the kernel when a file or directory is deleted. If the specified dentry has the specified inode number, the kernel will unhash it. Signed-off-by: John Muir <john@jmuir.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>