qemu-gpiodev/libfuse.git
8 years agoReleased 3.0.0-rc2 fuse-3.0.0rc2
Nikolaus Rath [Mon, 7 Nov 2016 06:00:30 +0000 (22:00 -0800)]
Released 3.0.0-rc2

8 years agoRemoved reference to developer-notes.rst (was removed earlier)
Nikolaus Rath [Mon, 7 Nov 2016 05:58:26 +0000 (21:58 -0800)]
Removed reference to developer-notes.rst (was removed earlier)

8 years agoFixed section names in documentation index
Nikolaus Rath [Mon, 7 Nov 2016 05:53:28 +0000 (21:53 -0800)]
Fixed section names in documentation index

8 years agoFix documentation: fuse_file_info may be NULL for open files
Nikolaus Rath [Mon, 7 Nov 2016 05:47:56 +0000 (21:47 -0800)]
Fix documentation: fuse_file_info may be NULL for open files

This turns issue #62 from a bug into an enhancement :-).

8 years agoRemoved reference to fgetattr and ftruncate (don't exist anymore)
Nikolaus Rath [Mon, 7 Nov 2016 05:44:30 +0000 (21:44 -0800)]
Removed reference to fgetattr and ftruncate (don't exist anymore)

8 years agoFixed typo in comment.
Nikolaus Rath [Mon, 7 Nov 2016 05:44:05 +0000 (21:44 -0800)]
Fixed typo in comment.

8 years agoDon't hardcode test file name.
Nikolaus Rath [Mon, 7 Nov 2016 05:00:57 +0000 (21:00 -0800)]
Don't hardcode test file name.

8 years agoAdded test for fchmod
Nikolaus Rath [Mon, 7 Nov 2016 04:59:55 +0000 (20:59 -0800)]
Added test for fchmod

At the moment this test fails (cf. issue #62). If that gets fixed in the
kernel, this test can be activated conditionally.

8 years agoMerge pull request #109 from divinity76/patch-1
Nikolaus Rath [Mon, 31 Oct 2016 17:20:43 +0000 (10:20 -0700)]
Merge pull request #109 from divinity76/patch-1

silence bogus eclipse linter warning

8 years agosilence bogus eclipse linter warning
divinity76 [Mon, 31 Oct 2016 13:39:20 +0000 (14:39 +0100)]
silence bogus eclipse linter warning

"No break at the end of case cuse.c     /example     line 235  Code Analysis Problem"

8 years agoClean-up doxygen documentation
Nikolaus Rath [Sat, 29 Oct 2016 03:44:39 +0000 (20:44 -0700)]
Clean-up doxygen documentation

Fixes: #81.
8 years agoFix memory leak in fusermount.
Nikolaus Rath [Fri, 28 Oct 2016 21:54:20 +0000 (14:54 -0700)]
Fix memory leak in fusermount.

8 years agoRenamed fusermount / mount.fuse to fusermount3 / mount.fuse3
Nikolaus Rath [Wed, 26 Oct 2016 04:06:14 +0000 (21:06 -0700)]
Renamed fusermount / mount.fuse to fusermount3 / mount.fuse3

8 years agoReleased 3.0.0rc1 fuse-3.0.0rc1
Nikolaus Rath [Fri, 28 Oct 2016 18:58:01 +0000 (11:58 -0700)]
Released 3.0.0rc1

8 years agoman: Document suid requirement
Mihail Konev [Tue, 18 Oct 2016 04:50:22 +0000 (04:50 +0000)]
man: Document suid requirement

8 years agoAdd max_read to fuse_conn_info
Nikolaus Rath [Fri, 28 Oct 2016 04:38:42 +0000 (21:38 -0700)]
Add max_read to fuse_conn_info

Eventually, this setting should be negotiated in the filesystem's init()
handler (like e.g. max_write). However, this requires corresponding
changes in the FUSE kernel module. In preparation for this (and to allow
a transition period) we already allow (and require) filesystems to set
the value in the init() handler in addition to the mount option.

The end-goal is tracked in issue #91.

8 years agoRemoved obsolete FUSE_DEV_OLD
Nikolaus Rath [Fri, 28 Oct 2016 03:54:45 +0000 (20:54 -0700)]
Removed obsolete FUSE_DEV_OLD

8 years agoRemoved some more "Changed in version x.py" comments.
Nikolaus Rath [Fri, 28 Oct 2016 03:50:16 +0000 (20:50 -0700)]
Removed some more "Changed in version x.py" comments.

8 years agoRecommend when to use -o default_permissions automatically
Nikolaus Rath [Thu, 27 Oct 2016 20:51:59 +0000 (13:51 -0700)]
Recommend when to use -o default_permissions automatically

8 years agoDescribe all mount options in mount.fuse(8).
Nikolaus Rath [Thu, 27 Oct 2016 20:42:08 +0000 (13:42 -0700)]
Describe all mount options in mount.fuse(8).

Also improved manpage in several ways.

8 years agoImprove documentation of -o default_permissions
Nikolaus Rath [Thu, 27 Oct 2016 19:46:16 +0000 (12:46 -0700)]
Improve documentation of -o default_permissions

8 years agoImprove documentation of capability flags.
Nikolaus Rath [Thu, 27 Oct 2016 19:32:03 +0000 (12:32 -0700)]
Improve documentation of capability flags.

8 years agoImprove man page title
Nikolaus Rath [Thu, 27 Oct 2016 16:43:28 +0000 (09:43 -0700)]
Improve man page title

8 years agoClarify which mount options are intended for file-system internal use.
Nikolaus Rath [Wed, 26 Oct 2016 05:16:33 +0000 (22:16 -0700)]
Clarify which mount options are intended for file-system internal use.

8 years agoClarify difference between notify_inval_entry and notify_delete().
Nikolaus Rath [Wed, 26 Oct 2016 03:51:04 +0000 (20:51 -0700)]
Clarify difference between notify_inval_entry and notify_delete().

Fixes #85.

8 years agoUse "se" instead of "f" for struct fuse_session
Nikolaus Rath [Wed, 26 Oct 2016 03:38:34 +0000 (20:38 -0700)]
Use "se" instead of "f" for struct fuse_session

The fuse_session pointer is sometimes called f and at other times
se. The former is an artifact from the time when there still was a
separate struct fuse_ll object.

For consistency and to easy maintenance, this patch changes the name of
the fuse_session pointer to "se" wherever possible.

This patch was generated by the following Coccinelle script:

@@
symbol f, se;
@@
struct fuse_session *
-f
+se
;
<...
-f
+se
...>

@@
expression expr;
@@
struct fuse_session *
-f
+se
= expr;
<...
-f
+se
...>

@@
identifier fn;
@@
fn(...,struct fuse_session *
-f
+se
,...) { <...
-f
+se
...> }

Due to its complexity, the do_init() function had to be commented out
and then patched manually.

8 years agoAdded debug logging to chmod
Nikolaus Rath [Tue, 25 Oct 2016 04:17:54 +0000 (21:17 -0700)]
Added debug logging to chmod

8 years agoFix segfault in debug logging code
Nikolaus Rath [Tue, 25 Oct 2016 04:09:00 +0000 (21:09 -0700)]
Fix segfault in debug logging code

fi may be NULL, so we need to protect against this.

8 years agofuse_session_new(): don't accept empty argv, check argv[0]
Nikolaus Rath [Tue, 25 Oct 2016 03:31:29 +0000 (20:31 -0700)]
fuse_session_new(): don't accept empty argv, check argv[0]

This should help avoid people to accidentally put options
into argv[0].

Fixes #100.

8 years agoTurn fuse_operations.nopath_flag into fuse_config.nullpath_ok
Nikolaus Rath [Thu, 20 Oct 2016 22:45:32 +0000 (15:45 -0700)]
Turn fuse_operations.nopath_flag into fuse_config.nullpath_ok

Modifying struct fuse_config in the init() handler is the canonical way
to adjust file-system implementation specific settings. There is no need
to have flags in struct fuse_operations.

8 years agofuse_new(): don't accept options that don't make sense for end-users
Nikolaus Rath [Wed, 19 Oct 2016 04:23:22 +0000 (21:23 -0700)]
fuse_new(): don't accept options that don't make sense for end-users

Several options (use_ino, etc) depend on the file system
implementation. Allowing them to be set from the command line makes no
sense.

8 years agoDocument -o remember= mount option.
Nikolaus Rath [Wed, 19 Oct 2016 04:26:40 +0000 (21:26 -0700)]
Document -o remember= mount option.

8 years agoPass struct fuse_config to high-level init() handler.
Nikolaus Rath [Wed, 19 Oct 2016 04:02:32 +0000 (21:02 -0700)]
Pass struct fuse_config to high-level init() handler.

8 years agoChangeLog: Remind people of to use FUSE_CAP_EXPORT_SUPPORT
Nikolaus Rath [Tue, 18 Oct 2016 04:31:37 +0000 (21:31 -0700)]
ChangeLog: Remind people of to use FUSE_CAP_EXPORT_SUPPORT

8 years agoAccept zero value for fuse_conn_info options
Nikolaus Rath [Tue, 18 Oct 2016 04:28:31 +0000 (21:28 -0700)]
Accept zero value for fuse_conn_info options

This may not make sense for all options, but it's good practice.

8 years agoRemoved all "Introduced in..." comments
Nikolaus Rath [Tue, 18 Oct 2016 04:22:47 +0000 (21:22 -0700)]
Removed all "Introduced in..." comments

Since FUSE 3 is breaking backwards compatibility, this really does
not matter.

8 years agomount.fuse(8): remove max_readahead, max_write, [a]sync_read
Nikolaus Rath [Tue, 18 Oct 2016 04:08:21 +0000 (21:08 -0700)]
mount.fuse(8): remove max_readahead, max_write, [a]sync_read

These are not mount options for FUSE file systems, but capabilites that
are worked out between libfuse and the fuse kernel module. For that
reason, they are also not accepted by fuse_session_new().

8 years agoDo not close stdout on fuse_session_destroy()
Consus [Thu, 20 Oct 2016 13:08:49 +0000 (16:08 +0300)]
Do not close stdout on fuse_session_destroy()

If fuse_session_mount() fails (or was never called in the first place)
we end up with the default fd value which happens to be 0. It hurts
long-running processes, which lifetime extends beyond session's
lifetime.

8 years agoCast to void where we deliberately ignore return values
Nikolaus Rath [Wed, 19 Oct 2016 01:54:14 +0000 (18:54 -0700)]
Cast to void where we deliberately ignore return values

8 years agoIgnore some errors
Mihail Konev [Tue, 18 Oct 2016 04:02:52 +0000 (04:02 +0000)]
Ignore some errors

8 years agoUpdate linker script
Nikolaus Rath [Tue, 18 Oct 2016 03:20:21 +0000 (20:20 -0700)]
Update linker script

- Fixes commit d49f2e77b4.
- Fixes commit 199fc0f833.
- Thanks to Github user mtheall for the review!

8 years agofuse_session_new(): accept --debug
Nikolaus Rath [Tue, 18 Oct 2016 03:16:58 +0000 (20:16 -0700)]
fuse_session_new(): accept --debug

Fixes commit 3e022acf4076.

Thanks to Github user mtheall for the review!

8 years agoSpelling fix
Nikolaus Rath [Tue, 18 Oct 2016 03:15:25 +0000 (20:15 -0700)]
Spelling fix

Thanks to (Github user) mtheall for the review!

8 years agoIgnore GNU Global tag files.
Nikolaus Rath [Mon, 17 Oct 2016 02:51:40 +0000 (19:51 -0700)]
Ignore GNU Global tag files.

8 years agoMention that low-level fs need to set FUSE_CAP_EXPORT_SUPPORT
Nikolaus Rath [Sun, 16 Oct 2016 22:34:20 +0000 (15:34 -0700)]
Mention that low-level fs need to set FUSE_CAP_EXPORT_SUPPORT

8 years agoDefault to FUSE_USE_VERSION 30
Nikolaus Rath [Sun, 16 Oct 2016 22:31:54 +0000 (15:31 -0700)]
Default to FUSE_USE_VERSION 30

8 years agoVarious documentation updates
Nikolaus Rath [Sun, 16 Oct 2016 22:05:57 +0000 (15:05 -0700)]
Various documentation updates

Move README.NFS into doc/
Update project URL
Remove reference to non-existent INSTALL file
Remove outdated/obsolete NEWS and how-fuse-works files.
Update references to examples.

8 years agoInlined fuse_mount_help() into fuse_lowlevel_help().
Nikolaus Rath [Sun, 16 Oct 2016 21:28:47 +0000 (14:28 -0700)]
Inlined fuse_mount_help() into fuse_lowlevel_help().

Both the BSD and Linux implementation actually accept mostly the same
FUSE-specific mount options. Up to now, the BSD help function appended
the output of ``mount_fusefs --help``, but looking at
http://www.unix.com/man-page/freebsd/8/mount_fusefs/ this is likely more
confusing than helpful (since the user is not actually invoking
mount_fusefs directly, most of the options don't make sense).

8 years agofuse_new(): instead of listing options, refer to mount.fuse(8)
Nikolaus Rath [Sun, 16 Oct 2016 21:18:36 +0000 (14:18 -0700)]
fuse_new(): instead of listing options, refer to mount.fuse(8)

8 years agofuse_session_new(): instead of listing options, refer to mount.fuse(8)
Nikolaus Rath [Sun, 16 Oct 2016 21:18:07 +0000 (14:18 -0700)]
fuse_session_new(): instead of listing options, refer to mount.fuse(8)

8 years agofuse_session_new: accept -o debug as synonym for -d
Nikolaus Rath [Sun, 16 Oct 2016 21:17:30 +0000 (14:17 -0700)]
fuse_session_new: accept -o debug as synonym for -d

8 years agoUpdated man-pages.
Nikolaus Rath [Sun, 16 Oct 2016 21:12:39 +0000 (14:12 -0700)]
Updated man-pages.

* Removed -o nonempty
* Added -o noforget
* Split into high-level / low-level
* Added warning that most options should be chosen by file system
  internally.
* Updated maintainer.

8 years agoMake --help output more suitable for end-user
Nikolaus Rath [Sun, 16 Oct 2016 02:46:57 +0000 (19:46 -0700)]
Make --help output more suitable for end-user

We now only list options that are potentially useful for an
end-user (and unlikely to accidentally break a file system). The full
list of FUSE options has been moved to the documentation of the
fuse_new() and fuse_session_new() functions.

8 years agoRemoved -o nopath - it never did anything
Nikolaus Rath [Sun, 16 Oct 2016 02:07:57 +0000 (19:07 -0700)]
Removed -o nopath - it never did anything

We are overriding this setting with the flag in struct fuse_operations:

$ example/hello -f -d  ~/tmp/mnt
FUSE library version: 3.0.0pre0
nopath: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.25
flags=0x0007fffb
max_readahead=0x00020000
   INIT: 7.23
   flags=0x00006031
   max_readahead=0x00020000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
   time_gran=0
   unique: 1, success, outsize: 80

$ example/hello -f -d  ~/tmp/mnt -o nopath
FUSE library version: 3.0.0pre0
nopath: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.25
flags=0x0007fffb
max_readahead=0x00020000
   INIT: 7.23
   flags=0x00006031
   max_readahead=0x00020000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
   time_gran=0
   unique: 1, success, outsize: 80

8 years agoRemoved -o nonempty option
Nikolaus Rath [Sat, 8 Oct 2016 03:57:53 +0000 (20:57 -0700)]
Removed -o nonempty option

This brings the default behavior in-line with that of the
regular `mount` command.

8 years agoFix documentation of -o max_write=
Nikolaus Rath [Sun, 16 Oct 2016 01:51:00 +0000 (18:51 -0700)]
Fix documentation of -o max_write=

big_writes has been available for some time, and is the default in FUSE
3. So max_write now actually takes effect.

(This really should have gone into commit 97f4a9cb4fc69)

8 years agoDrop -o large_read mount option
Nikolaus Rath [Sun, 16 Oct 2016 01:49:52 +0000 (18:49 -0700)]
Drop -o large_read mount option

This was only relevant for 2.4 kernels. Fixes #92.

8 years agoPass fuse_file_info to getattr, chown, chmod, truncate, utimens handlers
Nikolaus Rath [Sun, 16 Oct 2016 01:46:27 +0000 (18:46 -0700)]
Pass fuse_file_info to getattr, chown, chmod, truncate, utimens handlers

This obsoletes the ftruncate & fgetattr handlers.

Fixes #58.

8 years agoUnify handling of fuse_conn_info options
Nikolaus Rath [Sat, 15 Oct 2016 23:09:16 +0000 (16:09 -0700)]
Unify handling of fuse_conn_info options

Instead of using command line options to modify struct fuse_conn_info
before and after calling the init() handler, we now give the file system
explicit control over this.

8 years agoMerge branch 'fixup-lock-options'
Nikolaus Rath [Sat, 15 Oct 2016 23:24:02 +0000 (16:24 -0700)]
Merge branch 'fixup-lock-options'

8 years agoRe-activated lost no_remote_*lock options.
Nikolaus Rath [Sat, 15 Oct 2016 23:17:12 +0000 (16:17 -0700)]
Re-activated lost no_remote_*lock options.

8 years agotests: use freshly-build fusermount (instead of system version)
Nikolaus Rath [Thu, 13 Oct 2016 16:07:55 +0000 (09:07 -0700)]
tests: use freshly-build fusermount (instead of system version)

When running tests as non-root, make fusermount setuid root.

8 years agoTravis: use "make test" instead of calling pytest directly
Nikolaus Rath [Thu, 13 Oct 2016 17:49:03 +0000 (10:49 -0700)]
Travis: use "make test" instead of calling pytest directly

8 years agoOnly test writeback cache if kernel is recent enough.
Nikolaus Rath [Tue, 11 Oct 2016 04:45:47 +0000 (21:45 -0700)]
Only test writeback cache if kernel is recent enough.

8 years agoAdded lost ChangeLog entries for -o writeback_cache and -o async_dio.
Nikolaus Rath [Tue, 11 Oct 2016 04:53:01 +0000 (21:53 -0700)]
Added lost ChangeLog entries for -o writeback_cache and -o async_dio.

8 years agodo_init(): treat command line options consistently
Nikolaus Rath [Mon, 10 Oct 2016 22:52:15 +0000 (15:52 -0700)]
do_init(): treat command line options consistently

Previously, some command line options would change the FUSE defaults
but leave the final value to the file systems `init` handler while
others would override any changes made by `init`. Now, command line
options do both: they modify the default, *and* take precedence.

8 years agoMake -o clone_fd into a parameter of session_loop_mt().
Nikolaus Rath [Tue, 11 Oct 2016 04:29:36 +0000 (21:29 -0700)]
Make -o clone_fd into a parameter of session_loop_mt().

This option really affects the behavior of the session loop, not the
low-level interface. Therefore, it does not belong in the fuse_session
object.

8 years agoMove session options into sub-struct
Nikolaus Rath [Tue, 11 Oct 2016 03:21:45 +0000 (20:21 -0700)]
Move session options into sub-struct

The session options are used only once to determine the proper
conn->want flags. It is nice to have them clearly separated from the
other struct fuse_session members that are used throughout the life of
the file system.

8 years agoMention atomic_o_trunc capability in description of open() handler.
Nikolaus Rath [Tue, 11 Oct 2016 02:41:34 +0000 (19:41 -0700)]
Mention atomic_o_trunc capability in description of open() handler.

8 years agoUse NULL for option processing function where possible.
Nikolaus Rath [Tue, 11 Oct 2016 02:20:15 +0000 (19:20 -0700)]
Use NULL for option processing function where possible.

8 years agoActivate splice_read by default if write_buf is implemented.
Nikolaus Rath [Mon, 10 Oct 2016 23:14:17 +0000 (16:14 -0700)]
Activate splice_read by default if write_buf is implemented.

8 years agoDocument when fuse_reply_data will use splice()
Nikolaus Rath [Mon, 10 Oct 2016 23:28:26 +0000 (16:28 -0700)]
Document when fuse_reply_data will use splice()

8 years agoFactored out LL_OPTIONS macro
Nikolaus Rath [Mon, 10 Oct 2016 22:13:59 +0000 (15:13 -0700)]
Factored out LL_OPTIONS macro

8 years agoRemoved 'async_read' field in fuse_conn_info
Nikolaus Rath [Mon, 10 Oct 2016 21:53:57 +0000 (14:53 -0700)]
Removed 'async_read' field in fuse_conn_info

This is redundant with the capability flags in `wants` and `capable`.

8 years agoMake several -o NN options work again
Nikolaus Rath [Mon, 10 Oct 2016 18:57:50 +0000 (11:57 -0700)]
Make several -o NN options work again

In commit 2ed7af, we accidentally set the default values *after*
parsing the command line arguments.

8 years agoFix race condition in notify_* examples
Nikolaus Rath [Mon, 10 Oct 2016 18:18:00 +0000 (11:18 -0700)]
Fix race condition in notify_* examples

The fix in commit cf4159156b was incomplete. While some false positives
are caused by sleep() in the file system taking longer than expected,
there was also a race condition where the file system would run before
the contents are initialized properly.

8 years agoAdded write cache tests.
Nikolaus Rath [Mon, 10 Oct 2016 17:49:21 +0000 (10:49 -0700)]
Added write cache tests.

8 years agoUse "se" instead of "f" for fuse_session pointer where possible.
Nikolaus Rath [Mon, 10 Oct 2016 16:49:45 +0000 (09:49 -0700)]
Use "se" instead of "f" for fuse_session pointer where possible.

These changes were generated with the following Coccinelle semantic
patch:

@@
symbol f, se; // avoid unneeded warnings from Coccinelle
@@
struct fuse_session *
-f
+se
 ;
<...
-f
+se
...>

@@
identifier fn;
@@
fn(...,struct fuse_session *
-f
+se
,...) { <...
-f
+se
...> }

8 years agofuse_main(): extend support for printing help
Nikolaus Rath [Mon, 10 Oct 2016 16:38:20 +0000 (09:38 -0700)]
fuse_main(): extend support for printing help

There's now a way to inhibit the "usage" line (which actually got lost
in commit 225c12aebf2d), which makes it easier for simply file-systems
to generate good-looking --help output.

8 years agoUse NULL as option processor where possible.
Nikolaus Rath [Mon, 10 Oct 2016 05:56:51 +0000 (22:56 -0700)]
Use NULL as option processor where possible.

8 years agofuse_main_real(): use fuse_parse_cmdline().
Nikolaus Rath [Mon, 10 Oct 2016 05:39:28 +0000 (22:39 -0700)]
fuse_main_real(): use fuse_parse_cmdline().

8 years agoAdded ChangeLog entry for commit 225c12aebf2d2f27e1d0.
Nikolaus Rath [Mon, 10 Oct 2016 05:07:54 +0000 (22:07 -0700)]
Added ChangeLog entry for commit 225c12aebf2d2f27e1d0.

8 years agoAdded cuse unit test.
Nikolaus Rath [Mon, 10 Oct 2016 04:46:39 +0000 (21:46 -0700)]
Added cuse unit test.

8 years agoRenamed cuses example and added test program
Nikolaus Rath [Mon, 10 Oct 2016 04:05:54 +0000 (21:05 -0700)]
Renamed cuses example and added test program

An earlier version of the fioclient.c example was intended to be
used together with cusexmp.c. The former has since evolved into
ioctl_client.c and no longer has the function necessary to test
CUSE. Therefore, we've added a new cuse_client.c that is clearly
associated with the cuse.c example file system.

8 years agoIncrease timeouts in notify_* tests
Nikolaus Rath [Mon, 10 Oct 2016 03:49:41 +0000 (20:49 -0700)]
Increase timeouts in notify_* tests

When running under Valgrind, we otherwise get sporadic test failures.

8 years agoDon't confuse lookup count for mountpoint and file
Nikolaus Rath [Mon, 10 Oct 2016 03:38:24 +0000 (20:38 -0700)]
Don't confuse lookup count for mountpoint and file

I think this is the reason for a sporadic test failure, where
fuse_lowlevel_notify_store() fails.

8 years agoRenamed timefsN examples to fuse_notify_*
Nikolaus Rath [Mon, 10 Oct 2016 03:29:04 +0000 (20:29 -0700)]
Renamed timefsN examples to fuse_notify_*

This should make it more obvious at first glance what the different
examples do.

8 years agoInclude testfsN examples in Doxygen documentation.
Nikolaus Rath [Mon, 10 Oct 2016 03:18:38 +0000 (20:18 -0700)]
Include testfsN examples in Doxygen documentation.

8 years agoRenamed ioctl and poll examples
Nikolaus Rath [Mon, 10 Oct 2016 02:50:51 +0000 (19:50 -0700)]
Renamed ioctl and poll examples

The new names should make it more obvious at first glance
what each example demonstrates.

8 years agoRenamed some examples to make their function more obvious
Nikolaus Rath [Mon, 10 Oct 2016 02:22:57 +0000 (19:22 -0700)]
Renamed some examples to make their function more obvious

Also, added more comments for the same purpose.

8 years agofuse_parse_cmdline(): do not print help/version text
Nikolaus Rath [Mon, 10 Oct 2016 00:08:29 +0000 (17:08 -0700)]
fuse_parse_cmdline(): do not print help/version text

The current behavior makes it difficult to add help for
additional options. With the change, this becomes a lot easier.

8 years agoAdded missing export of fuse_pkgversion.
Nikolaus Rath [Sun, 9 Oct 2016 21:43:56 +0000 (14:43 -0700)]
Added missing export of fuse_pkgversion.

8 years agoMerge pull request #80 from libfuse/master-proposed
Nikolaus Rath [Sun, 9 Oct 2016 21:19:33 +0000 (14:19 -0700)]
Merge pull request #80 from libfuse/master-proposed

8 years agoWhitespace fix.
Nikolaus Rath [Sun, 9 Oct 2016 21:04:41 +0000 (14:04 -0700)]
Whitespace fix.

8 years agoFix valgrind warning
Nikolaus Rath [Sun, 9 Oct 2016 21:04:00 +0000 (14:04 -0700)]
Fix valgrind warning

If we don't assign a value to padding, we get a warning about reading
uninitialized data when sending the iovec to the kernel.

8 years agoFix documentation of fuse_parse_cmdline().
Nikolaus Rath [Sun, 9 Oct 2016 05:05:10 +0000 (22:05 -0700)]
Fix documentation of fuse_parse_cmdline().

For --help and --version, it returns -1.

8 years agoDropped example/null.c
Nikolaus Rath [Sun, 9 Oct 2016 04:47:53 +0000 (21:47 -0700)]
Dropped example/null.c

This does not seem to be working. Maybe because it tries to treat the
mountpoint as a file rather than a directory?

8 years agoAdded timefs3 to test notify_inval_entry.
Nikolaus Rath [Sun, 9 Oct 2016 04:24:13 +0000 (21:24 -0700)]
Added timefs3 to test notify_inval_entry.

Fixes #32.

8 years agoAdd background and multithreading support to hello_ll and fuse_lo-plus
Nikolaus Rath [Sun, 9 Oct 2016 03:04:36 +0000 (20:04 -0700)]
Add background and multithreading support to hello_ll and fuse_lo-plus

8 years agoUpdate list of requests that can be answered with fuse_reply_none().
Nikolaus Rath [Sun, 9 Oct 2016 03:02:09 +0000 (20:02 -0700)]
Update list of requests that can be answered with fuse_reply_none().