aboutsummaryrefslogtreecommitdiffstats
path: root/example/passthrough_ll.c
AgeCommit message (Collapse)AuthorLines
2017-08-06Added writeback cache to passthrough_llNikolaus Rath-2/+46
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.
2017-08-06Removed compat stuff in passthrough_llNikolaus Rath-42/+0
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.
2017-08-04passthrough_ll: added more debugging outputNikolaus Rath-1/+20
2017-08-03Fix compilation on 32bit systemsNikolaus Rath-6/+6
Fixes: #185.
2017-07-08Added public fuse_lib_help(), bumped minor versionNikolaus Rath-1/+1
2017-06-05examples/passthrough_ll: added support for create()Nikolaus Rath-1/+23
2017-06-05example/passthrough_ll: added write supportNikolaus Rath-1/+21
2017-05-25passthrough_ll: document that fuse_ino_t and uintptr_t sizes must matchNikolaus Rath-0/+13
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.
2017-04-07passthrough_ll: document that functionality is restrictedNikolaus Rath-1/+5
2017-03-15passthrough_fh: declare support for . and .. lookups.Nikolaus Rath-0/+8
2016-11-28examples/passthrough_ll.c: Include <limits.h> (for PATH_MAX macro).Przemyslaw Pawelczyk-0/+1
Otherwise building w/o optimization (-O0) fails. passthrough_ll.c: In function 'lo_readlink': passthrough_ll.c:251:11: error: 'PATH_MAX' undeclared (first use in this function) char buf[PATH_MAX + 1]; (gcc v5.3.0 in Alpine Linux v3.4.6 x86_64 w/ musl-libc v1.1.14.)
2016-11-28examples/passthrough_ll.c: Close root fd before application ends.Przemyslaw Pawelczyk-0/+3
If we want to do, what system would do anyway upon program termination, then let's try to be a bit more scrupulous.
2016-11-28examples/passthrough_ll.c: Fix segfault when showing help or version.Przemyslaw Pawelczyk-1/+2
root lo_inode's next and prev were not set early enough, which led to accessing addr 0x8 (or 0x4, depending on ptr size) when setting prev variable in lo_free(lo.root.next), because lo.root.next was NULL.
2016-10-28Clean-up doxygen documentationNikolaus Rath-4/+3
Fixes: #81.
2016-10-15Make --help output more suitable for end-userNikolaus Rath-2/+1
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.
2016-10-15Unify handling of fuse_conn_info optionsNikolaus Rath-1/+0
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.
2016-10-13Make -o clone_fd into a parameter of session_loop_mt().Nikolaus Rath-1/+1
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.
2016-10-09Renamed some examples to make their function more obviousNikolaus Rath-0/+522
Also, added more comments for the same purpose.