libgocryptfs/internal/fusefrontend
Jakob Unterwurzacher 738a9e006a fusefrontend: rewrite Lseek SEEK_DATA / SEEK_HOLE
In response to the discussion of the xfstests mailing list [1],
I looked at the Lseek implementation, which was naive and
did not handle all cases correctly.

The new implementation aligns the returned values to 4096 bytes
as most callers expect.

A lot of tests are added to verify that we handle all
cases correctly now.

[1]: https://www.spinics.net/lists/fstests/msg16554.html
2021-05-29 16:05:36 +02:00
..
args.go v2api: -sharestorage: disable hard link tracking & add tests 2021-03-07 17:22:29 +01:00
ctlsock_interface.go v2api: implement ctlsocksrv.Interface 2020-07-17 22:14:40 +02:00
dircache.go fusefrontend: print dirCache stats after unmount 2021-04-05 18:20:17 +02:00
file.go fusefronted: move Create() and Open() to new file 2021-03-21 09:31:05 +01:00
file_allocate_truncate.go v2api: rename "File2" to just "File" 2020-08-16 12:50:33 +02:00
file_api_check.go v2api: clean up api TODOs 2020-08-16 13:52:27 +02:00
file_holes.go fusefrontend: rewrite Lseek SEEK_DATA / SEEK_HOLE 2021-05-29 16:05:36 +02:00
file_setattr.go v2api: rename "File2" to just "File" 2020-08-16 12:50:33 +02:00
node.go fusefrontend: fix RENAME_NOREPLACE darwin build failure 2021-05-15 17:20:43 +02:00
node_api_check.go v2api: implement Getxattr, Setxattr, Removexattr, Listxattr 2020-07-14 19:55:20 +02:00
node_dir_ops.go syscallcompat: refactor MkdiratUser to take fuse.Context 2021-05-22 21:44:19 +02:00
node_helpers.go fusefrontend: make dirCache work for "node itself" 2021-04-07 07:18:35 +02:00
node_open_create.go fusefronted: move Create() and Open() to new file 2021-03-21 09:31:05 +01:00
node_xattr.go fusefrontend: do not encrypt ACLs 2021-02-07 20:01:16 +01:00
node_xattr_darwin.go v2api: add Darwin xattr support 2020-09-09 11:17:19 +02:00
node_xattr_linux.go v2api: implement Getxattr, Setxattr, Removexattr, Listxattr 2020-07-14 19:55:20 +02:00
openbackingdir_test.go tests: fusefronted: fix TestOpenBackingDir 2021-04-03 12:34:18 +02:00
root_node.go fusefrontend: make dirCache work for "node itself" 2021-04-07 07:18:35 +02:00
xattr_unit_test.go v2api: implement Getxattr, Setxattr, Removexattr, Listxattr 2020-07-14 19:55:20 +02:00