qemu-gpiodev/libfuse.git
7 years agofuse_loop_mt(): on error, return errno rather than -1.
Nikolaus Rath [Wed, 23 Aug 2017 21:37:40 +0000 (23:37 +0200)]
fuse_loop_mt(): on error, return errno rather than -1.

7 years agofuse_loop(): don't return non-zero if there was no error
Nikolaus Rath [Wed, 23 Aug 2017 21:36:22 +0000 (23:36 +0200)]
fuse_loop(): don't return non-zero if there was no error

7 years agoDocument and unify error codes of fuse_lowlevel_notify_*
Nikolaus Rath [Tue, 22 Aug 2017 15:05:26 +0000 (17:05 +0200)]
Document and unify error codes of fuse_lowlevel_notify_*

7 years agoMake passthrough_fh work under FreeBSD.
Nikolaus Rath [Tue, 22 Aug 2017 11:46:14 +0000 (13:46 +0200)]
Make passthrough_fh work under FreeBSD.

7 years agoFix two compiler warnings.
Nikolaus Rath [Tue, 22 Aug 2017 11:50:14 +0000 (13:50 +0200)]
Fix two compiler warnings.

7 years agoDocument meaning of zero telldir() offset.
Nikolaus Rath [Tue, 22 Aug 2017 11:45:41 +0000 (13:45 +0200)]
Document meaning of zero telldir() offset.

7 years agoAllow building without iconv.
Nikolaus Rath [Tue, 22 Aug 2017 10:10:50 +0000 (12:10 +0200)]
Allow building without iconv.

cfg.has('HAVE_ICONV') was always true.

7 years agoUse 'buildtype' to set debug/optimization options
Nikolaus Rath [Tue, 22 Aug 2017 09:10:00 +0000 (11:10 +0200)]
Use 'buildtype' to set debug/optimization options

Until now, running `mesonconf -D buildtype=debug` didn't have any
effect - which was confusing.

7 years agodirectly call fuse_new_31() instead of fuse_new() internally
userwithuid [Mon, 14 Aug 2017 15:08:41 +0000 (15:08 +0000)]
directly call fuse_new_31() instead of fuse_new() internally

this fixes building with lto, which failed since commit 503e32d01e4db00e90d7acfd81ab05386559069f

7 years agoFixed udev rules directory.
Nikolaus Rath [Mon, 14 Aug 2017 08:26:51 +0000 (10:26 +0200)]
Fixed udev rules directory.

7 years agoSkip tests that aren't supported under FreeBSD.
Nikolaus Rath [Fri, 11 Aug 2017 18:15:27 +0000 (20:15 +0200)]
Skip tests that aren't supported under FreeBSD.

7 years agofuse_lib_init(): don't set FUSE_CAP_EXPORT_SUPPORT unconditionally
Nikolaus Rath [Fri, 11 Aug 2017 18:14:55 +0000 (20:14 +0200)]
fuse_lib_init(): don't set FUSE_CAP_EXPORT_SUPPORT unconditionally

FreeBSD kernel does not support this.

7 years agoDon't attempt to run fusermount3 under BSD.
Nikolaus Rath [Fri, 11 Aug 2017 08:53:56 +0000 (10:53 +0200)]
Don't attempt to run fusermount3 under BSD.

7 years agoCall cp with -p instead of --preserve=mode
Nikolaus Rath [Fri, 11 Aug 2017 08:46:07 +0000 (10:46 +0200)]
Call cp with -p instead of --preserve=mode

Preserving other attributes doesn't hurt, and --preserve
is not supported under FreeBSD.

7 years agoDon't pass --update to cp
Nikolaus Rath [Fri, 11 Aug 2017 08:42:58 +0000 (10:42 +0200)]
Don't pass --update to cp

Doesn't work on FreeBSD, and not strictly necessary.

7 years agoDon't build passthrough_ll under BSD.
Nikolaus Rath [Fri, 11 Aug 2017 08:41:58 +0000 (10:41 +0200)]
Don't build passthrough_ll under BSD.

7 years agofuse_kern_unmount(): fix variable type.
Nikolaus Rath [Fri, 11 Aug 2017 08:31:24 +0000 (10:31 +0200)]
fuse_kern_unmount(): fix variable type.

7 years agoFix unused variable warnings under FreeBSD.
Nikolaus Rath [Fri, 11 Aug 2017 08:26:28 +0000 (10:26 +0200)]
Fix unused variable warnings under FreeBSD.

7 years agoFix FreeBSD platform detection.
Nikolaus Rath [Tue, 8 Aug 2017 13:40:09 +0000 (15:40 +0200)]
Fix FreeBSD platform detection.

7 years agoFix support for FUSE_POSIX_ACL
Marcin Sulikowski [Thu, 3 Aug 2017 14:24:39 +0000 (16:24 +0200)]
Fix support for FUSE_POSIX_ACL

The kernel may set the FUSE_POSIX_ACL flag in the FUSE_INIT request to
notify the userspace daemon that the OS does support POSIX ACLs for FUSE
file systems. If the filesystem implementation wants to enable POSIX
ACLs, it has to reply with the FUSE_POSIX_ACL flag set. However, the
reply to the kernel never includes this flag, even if the implementation
expresses the need by setting the FUSE_CAP_POSIX_ACL flag in the
fuse_conn_info::want variable passed to its init callback. We modify the
library to handle requests for FUSE_CAP_POSIX_ACL correctly, i.e., set
the FUSE_POSIX_ACL flag in the FUSE_INIT reply to the kernel.

Signed-off-by: Marcin Sulikowski <marcin.sulikowski@editshare.com>
7 years agoReleased 3.1.1 fuse-3.1.1
Nikolaus Rath [Sun, 6 Aug 2017 11:24:40 +0000 (13:24 +0200)]
Released 3.1.1

7 years agoos_open(): don't attempt to close fd if open failed.
Nikolaus Rath [Sun, 6 Aug 2017 11:24:20 +0000 (13:24 +0200)]
os_open(): don't attempt to close fd if open failed.

7 years agoAdded writeback cache to passthrough_ll
Nikolaus Rath [Fri, 4 Aug 2017 20:38:03 +0000 (22:38 +0200)]
Added writeback cache to passthrough_ll

This fixes issue #191 (where the test was done by simply adding
FUSE_CAP_WRITEBACK_CACHE without adjusting the flags in the
open() call).

Fixes: #191.
7 years agoClarified documentation for fuse_parse_cmdline()
Nikolaus Rath [Fri, 4 Aug 2017 20:38:29 +0000 (22:38 +0200)]
Clarified documentation for fuse_parse_cmdline()

7 years agoRemoved compat stuff in passthrough_ll
Nikolaus Rath [Fri, 4 Aug 2017 20:17:06 +0000 (22:17 +0200)]
Removed compat stuff in passthrough_ll

As the comment says, this made it compile but not work. If there is a
need, we can add these checks to meson.build to only build this file
if the prerequisites are satisfied.

7 years agoClarify how the filesystem should handle open/create flags
Nikolaus Rath [Fri, 4 Aug 2017 20:12:36 +0000 (22:12 +0200)]
Clarify how the filesystem should handle open/create flags

7 years agopassthrough_ll: added more debugging output
Nikolaus Rath [Fri, 4 Aug 2017 19:56:45 +0000 (21:56 +0200)]
passthrough_ll: added more debugging output

7 years agoAdded append and seek tests
Nikolaus Rath [Fri, 4 Aug 2017 18:13:08 +0000 (20:13 +0200)]
Added append and seek tests

7 years agoInclude ChangeLog in tarball
Nikolaus Rath [Fri, 4 Aug 2017 18:12:58 +0000 (20:12 +0200)]
Include ChangeLog in tarball

7 years agoSimplify and fix FreeBSD fsname handling
Nikolaus Rath [Thu, 3 Aug 2017 15:19:22 +0000 (17:19 +0200)]
Simplify and fix FreeBSD fsname handling

This should simplify the code a lot. It also corrects a bug in
that the (former) add_default_fsname() function actually set
the -osubtype option.

7 years agoSimply #ifdefs
Nikolaus Rath [Thu, 3 Aug 2017 15:13:23 +0000 (17:13 +0200)]
Simply #ifdefs

mount_bsd.c is only used when compiling for *BSD, and FreeBSD
is the only BSD that supports FUSE. So there really is no need
to check if this file is compiled under FreeBSD.

7 years agoFix FreeBSD detection in meson.build
Nikolaus Rath [Thu, 3 Aug 2017 15:12:25 +0000 (17:12 +0200)]
Fix FreeBSD detection in meson.build

7 years agoAdded ChangeLog entry for FreeBSD commits.
Nikolaus Rath [Thu, 3 Aug 2017 15:12:15 +0000 (17:12 +0200)]
Added ChangeLog entry for FreeBSD commits.

7 years agoFreeBSD: supprt fsname= option
Baptiste Daroussin [Thu, 3 Aug 2017 12:37:07 +0000 (14:37 +0200)]
FreeBSD: supprt fsname= option

7 years agoFreeBSD: use unmount(2) and add missing FreeBSD mount option
Baptiste Daroussin [Thu, 3 Aug 2017 12:24:22 +0000 (14:24 +0200)]
FreeBSD: use unmount(2) and add missing FreeBSD mount option

7 years agoFreeBSD: do not build utilities
Baptiste Daroussin [Thu, 3 Aug 2017 12:04:36 +0000 (14:04 +0200)]
FreeBSD: do not build utilities

7 years agoProduce more helpful message on OS-X and Windows.
Nikolaus Rath [Thu, 3 Aug 2017 11:44:32 +0000 (13:44 +0200)]
Produce more helpful message on OS-X and Windows.

Fixes: #186.
7 years agoDon't check st_nlink value for mkdir
Nikolaus Rath [Thu, 3 Aug 2017 11:07:30 +0000 (13:07 +0200)]
Don't check st_nlink value for mkdir

Some filesystems don't track this for directories.

Fixes: #180.
7 years agoAdded changelog entry for symbol versioning fixes.
Nikolaus Rath [Thu, 3 Aug 2017 11:01:12 +0000 (13:01 +0200)]
Added changelog entry for symbol versioning fixes.

7 years agoAdded changelog entry for commit f0ecf.
Nikolaus Rath [Thu, 3 Aug 2017 11:00:09 +0000 (13:00 +0200)]
Added changelog entry for commit f0ecf.

7 years agoFix compilation on 32bit systems
Nikolaus Rath [Thu, 3 Aug 2017 10:56:02 +0000 (12:56 +0200)]
Fix compilation on 32bit systems

Fixes: #185.
7 years agoAsk pkgconfig where we should install udev rules
Heiko Becker [Fri, 28 Jul 2017 15:33:56 +0000 (17:33 +0200)]
Ask pkgconfig where we should install udev rules

7 years agoFix compiler warnings of gcc-5.4.x
Banglang [Tue, 1 Aug 2017 09:10:32 +0000 (17:10 +0800)]
Fix compiler warnings of gcc-5.4.x

Signed-off-by: Banglang <banglang.huang@foxmail.com>
7 years agoOnly declare fuse_new_30() when FUSE_USE_VERSION == 30
Nikolaus Rath [Thu, 13 Jul 2017 11:23:32 +0000 (13:23 +0200)]
Only declare fuse_new_30() when FUSE_USE_VERSION == 30

This function shouldn't be called when using a newer fuse
version, so we should not define it in that case.

7 years agofuse_new_30(): call fuse_new_31(), not fuse_new()
Nikolaus Rath [Thu, 13 Jul 2017 11:22:12 +0000 (13:22 +0200)]
fuse_new_30(): call fuse_new_31(), not fuse_new()

I believe this function call is resolved by the compiler, not
the linker, so this seems safer.

Thanks to Chris Clayton for spotting this.

7 years agoFixup symbol versioning for GCC 4.x
Nikolaus Rath [Sat, 8 Jul 2017 11:11:47 +0000 (13:11 +0200)]
Fixup symbol versioning for GCC 4.x

GCC 4.8 doesn't like to rename fuse_new_30 to fuse_new, if we
also define an implementation for fuse_new.

7 years agoReleased 3.1.0 fuse-3.1.0
Nikolaus Rath [Sat, 8 Jul 2017 10:11:01 +0000 (12:11 +0200)]
Released 3.1.0

7 years agoAdded public fuse_lib_help(), bumped minor version
Nikolaus Rath [Fri, 7 Jul 2017 13:25:41 +0000 (15:25 +0200)]
Added public fuse_lib_help(), bumped minor version

7 years agoFixed description of struct fuse_conn_info->time_gran
Nikolaus Rath [Fri, 7 Jul 2017 23:12:59 +0000 (01:12 +0200)]
Fixed description of struct fuse_conn_info->time_gran

At least on Linux kernel 4.9, a value of zero gives more
than 1-sec accuracy.

7 years agoError out if FUSE_USE_VERSION is not defined
Nikolaus Rath [Fri, 7 Jul 2017 13:34:32 +0000 (15:34 +0200)]
Error out if FUSE_USE_VERSION is not defined

This is safer than making assumptions.

7 years agoDon't use emacs' python-mode for meson files
Nikolaus Rath [Fri, 7 Jul 2017 13:29:30 +0000 (15:29 +0200)]
Don't use emacs' python-mode for meson files

There is a proper meson-mode now.

7 years agoFixed typo in Changelog
Nikolaus Rath [Fri, 7 Jul 2017 13:27:17 +0000 (15:27 +0200)]
Fixed typo in Changelog

7 years agoDon't redefine FUSE_USE_VERSION
Nikolaus Rath [Thu, 6 Jul 2017 16:29:53 +0000 (18:29 +0200)]
Don't redefine FUSE_USE_VERSION

It's already set in meson.build as compiler flag.

7 years agoTravis: use sudo-enabled environment.
Nikolaus Rath [Thu, 6 Jul 2017 11:13:42 +0000 (13:13 +0200)]
Travis: use sudo-enabled environment.

7 years agoAdded information about professional support.
Nikolaus Rath [Thu, 6 Jul 2017 10:40:31 +0000 (12:40 +0200)]
Added information about professional support.

7 years agoFixed bug in code example in ChangeLog.
Nikolaus Rath [Thu, 6 Jul 2017 10:40:16 +0000 (12:40 +0200)]
Fixed bug in code example in ChangeLog.

7 years agoInstall init script in $DESTDIR/etc, not $prefix/$sysconfdir
Nikolaus Rath [Wed, 21 Jun 2017 22:41:37 +0000 (15:41 -0700)]
Install init script in $DESTDIR/etc, not $prefix/$sysconfdir

Fixes: #178.
7 years agotst_readdir(): actually go through FUSE
Nikolaus Rath [Tue, 20 Jun 2017 23:37:51 +0000 (16:37 -0700)]
tst_readdir(): actually go through FUSE

The previous code didn't actually go through the mountpoint at all.

7 years agoClarify *_timeout semantics
Nikolaus Rath [Thu, 8 Jun 2017 17:32:46 +0000 (13:32 -0400)]
Clarify *_timeout semantics

When changes always come through kernel, timeouts
should be large.

7 years agoDescribe supported platforms.
Nikolaus Rath [Tue, 6 Jun 2017 13:31:50 +0000 (09:31 -0400)]
Describe supported platforms.

7 years agogetgroups(): clarify code
Nikolaus Rath [Mon, 5 Jun 2017 11:27:31 +0000 (07:27 -0400)]
getgroups(): clarify code

read() return value should always be positive or -1. However,
since we cast to unsigned a little later, it's clearer
to check for non-negativity.

7 years agoFix comparison of integers of different signs
Angelo G. Del Regno [Sun, 4 Jun 2017 09:02:07 +0000 (11:02 +0200)]
Fix comparison of integers of different signs

Some variables of different size and sign were getting compared
without any safe casting.
The build system also throws warnings at this and, being this
library used for filesystems, it's really important to ensure
stability.

7 years agoexamples/passthrough_ll: added support for create()
Nikolaus Rath [Mon, 5 Jun 2017 11:00:56 +0000 (07:00 -0400)]
examples/passthrough_ll: added support for create()

7 years agoexample/passthrough_ll: added write support
Nikolaus Rath [Mon, 5 Jun 2017 10:57:36 +0000 (06:57 -0400)]
example/passthrough_ll: added write support

7 years agonotify_store_retrieve(): fix race on unmount
Nikolaus Rath [Wed, 31 May 2017 20:43:54 +0000 (13:43 -0700)]
notify_store_retrieve(): fix race on unmount

update_fs_loop() is still running when the filesystem unmounts,
but it that case calls to fuse_lowlevel_notify_* will fail.

Fixes: #105.
7 years agoClarify that destroy() is called without kernel connection
Nikolaus Rath [Wed, 31 May 2017 20:36:08 +0000 (13:36 -0700)]
Clarify that destroy() is called without kernel connection

7 years agoexample/notify_store_retrieve: add debugging code for issue #105.
Nikolaus Rath [Wed, 31 May 2017 19:54:19 +0000 (12:54 -0700)]
example/notify_store_retrieve: add debugging code for issue #105.

7 years agoRevert "example/passthrough.c: add debugging code for issue #157."
Nikolaus Rath [Wed, 31 May 2017 19:35:16 +0000 (12:35 -0700)]
Revert "example/passthrough.c: add debugging code for issue #157."

This reverts commit 179fa13b40387645e722089873079488f9dbe3d8.

7 years agotst_link(): wait for RELEASE request
Nikolaus Rath [Wed, 31 May 2017 16:34:40 +0000 (09:34 -0700)]
tst_link(): wait for RELEASE request

Since RELEASE requests are asynchronous, it is possible that libfuse
still considers the file to be open when userspace has closed it, so
that a successive unlink() call from userspace actually triggers
a rename(). We avoid the resulting test failure by re-trying a few
times.

Fixes: #157.
7 years agoFactored out C-based tests
Nikolaus Rath [Thu, 25 May 2017 20:22:43 +0000 (13:22 -0700)]
Factored out C-based tests

7 years agoFix typo in comment.
Nikolaus Rath [Thu, 25 May 2017 20:12:20 +0000 (13:12 -0700)]
Fix typo in comment.

7 years agoDocument RENAME_EXCHANGE and RENAME_NOREPLACE flags.
Nikolaus Rath [Thu, 25 May 2017 20:12:06 +0000 (13:12 -0700)]
Document RENAME_EXCHANGE and RENAME_NOREPLACE flags.

7 years agopassthrough_ll: document that fuse_ino_t and uintptr_t sizes must match
Nikolaus Rath [Thu, 25 May 2017 19:48:27 +0000 (12:48 -0700)]
passthrough_ll: document that fuse_ino_t and uintptr_t sizes must match

We can consider changing the code to drop the requirement if it
turns out that there's a system where this isn't given.

Fixes issue #167.

7 years agoexample/passthrough.c: add debugging code for issue #157.
Nikolaus Rath [Thu, 25 May 2017 19:26:52 +0000 (12:26 -0700)]
example/passthrough.c: add debugging code for issue #157.

7 years agotst_link(): add more assertions
Nikolaus Rath [Thu, 25 May 2017 19:15:17 +0000 (12:15 -0700)]
tst_link(): add more assertions

Hopefully this helps debugging issue #157.

7 years agoRemove fuse_fs_fgetattr and fuse_fs_ftruncate from linker script
pablomh [Tue, 23 May 2017 13:41:31 +0000 (15:41 +0200)]
Remove fuse_fs_fgetattr and fuse_fs_ftruncate from linker script

They were removed from source here: https://github.com/libfuse/libfuse/commit/73b6ff4b75cf1228ea61262c293fcb2fda5dfeea

7 years agoTravis-CI: Don't abort on first failed test
Nikolaus Rath [Wed, 24 May 2017 23:53:14 +0000 (16:53 -0700)]
Travis-CI: Don't abort on first failed test

This should help debugging issue #157.

7 years agoAdded tst_open_read()
Nikolaus Rath [Wed, 24 May 2017 23:20:04 +0000 (16:20 -0700)]
Added tst_open_read()

Slightly increases coverage of examples/passthrough_ll.c (which
supports open for reading, but not for writing).

7 years agolib/meson.build: don't crash if there's no libdl
Nikolaus Rath [Wed, 24 May 2017 23:12:41 +0000 (16:12 -0700)]
lib/meson.build: don't crash if there's no libdl

For example, FreeBSD doesn't have it.

Fixes: #173.
7 years agofuse_signals.c: use new do_nothing function instead of SIG_IGN
Nikolaus Rath [Wed, 24 May 2017 22:56:41 +0000 (15:56 -0700)]
fuse_signals.c: use new do_nothing function instead of SIG_IGN

Fixes: #160.
7 years agoReleased libfuse 3.0.2 fuse-3.0.2
Nikolaus Rath [Wed, 24 May 2017 20:56:11 +0000 (13:56 -0700)]
Released libfuse 3.0.2

7 years agoMake tests build on bsd
Brian Naylor [Wed, 24 May 2017 15:38:49 +0000 (11:38 -0400)]
Make tests build on bsd

7 years agomake buffer size match kernel max transfer size
Carlos Maiolino [Thu, 20 Apr 2017 12:53:01 +0000 (14:53 +0200)]
make buffer size match kernel max transfer size

Currently libfuse has a hardcoded buffer limit to 128kib, while fuse
kernel module has a limit up to 32 pages.

This patch changes buffer limit to match the current page size, instead
of assuming 4096 bytes pages, enabling architectures with bigger pages
to use larger buffers, improving performance.

Also, add a new macro (HEADER_SIZE) to specify the space needed to
accommodate the header, making it easier to understand why those extra
4096 bytes are needed

Signed-off-by: Carlos Maiolino <cmaiolino-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
7 years agoSet default options before parsing
Tej Chajed [Thu, 13 Apr 2017 21:23:33 +0000 (17:23 -0400)]
Set default options before parsing

8 years agoImproved documentation of fuse_context.private_data
Nikolaus Rath [Wed, 12 Apr 2017 16:33:22 +0000 (09:33 -0700)]
Improved documentation of fuse_context.private_data

In particular, don't call it "user_data" in one place and
"private_data" elsewhere.

Changing the name of the variable in the prototype should not affect
backwards compatibility.

Fixes: #155.
8 years agoReleased 3.0.1 fuse-3.0.1
Nikolaus Rath [Tue, 11 Apr 2017 00:28:41 +0000 (17:28 -0700)]
Released 3.0.1

8 years agoFix travis build script. Broken in e372d.
Nikolaus Rath [Tue, 11 Apr 2017 00:23:28 +0000 (17:23 -0700)]
Fix travis build script. Broken in e372d.

8 years agoAdded ChangeLog for commits c24cc to eb972.
Nikolaus Rath [Tue, 11 Apr 2017 00:11:30 +0000 (17:11 -0700)]
Added ChangeLog for commits c24cc to eb972.

8 years agoRemove 'tests' target in favor of calling py.test directly.
Nikolaus Rath [Tue, 11 Apr 2017 00:08:58 +0000 (17:08 -0700)]
Remove 'tests' target in favor of calling py.test directly.

Together with the previous commit, this fixes #156.

8 years agoBuild tests by default.
Nikolaus Rath [Mon, 10 Apr 2017 23:46:35 +0000 (16:46 -0700)]
Build tests by default.

8 years agoOnly build test/*.py if out of date.
Nikolaus Rath [Mon, 10 Apr 2017 23:39:01 +0000 (16:39 -0700)]
Only build test/*.py if out of date.

8 years agoActually test passthrough* examples
Nikolaus Rath [Wed, 5 Apr 2017 23:49:39 +0000 (16:49 -0700)]
Actually test passthrough* examples

Since os.path.join() interprets leading slashes, we were
actually never accessing the mountpoint and doing all the
tests in the source directory.

Fixes: #139
8 years agopassthrough: implemented create()
Nikolaus Rath [Fri, 7 Apr 2017 23:36:52 +0000 (16:36 -0700)]
passthrough: implemented create()

This allows calls like open(file, O_CREAT|O_RDONLY, 0200) which would
otherwise fail because we cannot open the file after mknod() has
created it with 0200 permissions.

8 years agoexample/passthrough: use fi->fh for read, write, fallocate
Nikolaus Rath [Fri, 7 Apr 2017 23:31:07 +0000 (16:31 -0700)]
example/passthrough: use fi->fh for read, write, fallocate

No reason not to use it. May even be a little faster and will
consume less resources :-).

8 years agopassthrough:truncate(): work on file descriptor when possible
Nikolaus Rath [Fri, 7 Apr 2017 23:27:59 +0000 (16:27 -0700)]
passthrough:truncate(): work on file descriptor when possible

This allows truncating an open file even if write permission
was removed after open() (which is the expected behavior).

8 years agoexample/passthrough: close open files in release()
Nikolaus Rath [Fri, 7 Apr 2017 23:27:33 +0000 (16:27 -0700)]
example/passthrough: close open files in release()

That way we can use the file descriptor for other operations.

8 years agopassthrough, passthrough_fh: disable attribute caching
Nikolaus Rath [Thu, 6 Apr 2017 18:47:06 +0000 (11:47 -0700)]
passthrough, passthrough_fh: disable attribute caching

Required for better hardlink handling, see comments in patch.

8 years agotest_examples(): test without debug messages first
Nikolaus Rath [Thu, 6 Apr 2017 17:15:19 +0000 (10:15 -0700)]
test_examples(): test without debug messages first

That way, we are not drowning in messages when a test would also fail
without debugging enabled.

8 years agotest_examples(): avoid false positives from fuse debug output
Nikolaus Rath [Thu, 6 Apr 2017 17:13:54 +0000 (10:13 -0700)]
test_examples(): avoid false positives from fuse debug output

8 years agopassthrough_ll: only test functions that are actually provided
Nikolaus Rath [Thu, 6 Apr 2017 05:52:54 +0000 (22:52 -0700)]
passthrough_ll: only test functions that are actually provided

This appeared to work because of an unrelated bug that caused us to
actually never access the mountpoint at all and do all tests on the
lower filesystem. This issue will be fixed in a separate commit.