From dc436101370e0ab2ea4d3a2a3454711ad7051ae8 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Mon, 10 Oct 2016 15:52:15 -0700 Subject: 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. --- ChangeLog.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog.rst') diff --git a/ChangeLog.rst b/ChangeLog.rst index dc243f2..4f355ce 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,6 +1,12 @@ Unreleased Changes ================== +* `fuse_session_new` now treats low-level options more consistently: + First, options are used to modify FUSE defaults. Second, the file + system may inspect and/or adjust the settings in its `init` + handler. Third, command line arguments take precedence over any + modifications made by the `init` handler. + * Removed the `async_read` field from `struct fuse_conn_info`. To determine if the kernel supports asynchronous reads, file systems should check the `FUSE_CAP_ASYNC_READ` bit of the `capable` -- cgit v1.2.3