libgocryptfs/internal/syscallcompat
Jakob Unterwurzacher c70df522d2 fusefrontend: doWrite: delete file header if first write fails
xfstests generic/083 fills the filesystem almost completely while
running fsstress in parallel. In fsck, these would show up:

  readFileID 2580: incomplete file, got 18 instead of 19 bytes

This could happen when writing the file header works, but writing
the actual data fails.

Now we kill the header again by truncating the file to zero.
2018-07-15 15:12:55 +02:00
..
emulate_test.go macos: tests: fix deleting of scratch dir 2018-03-05 23:40:08 +01:00
emulate.go Fix the easy golint warnings 2018-04-08 20:26:25 +02:00
getdents_linux.go syscallcompat: switch from syscall.Getdents to unix.Getdents 2018-01-31 18:59:10 +01:00
getdents_other.go syscallcompat: convert Getdents to fd input, add emulation 2017-12-03 19:33:26 +01:00
getdents_test.go gccgo: skip emulateGetdents on linux 2018-02-04 21:14:12 +01:00
helpers.go fusefrontend: doWrite: delete file header if first write fails 2018-07-15 15:12:55 +02:00
main_test.go syscallcompat: move test setup into its own file 2017-12-02 19:57:23 +01:00
open_nofollow_test.go syscallcompat: OpenNofollow: use O_DIRECTORY flag 2017-12-05 23:31:07 +01:00
open_nofollow.go syscallcompat: OpenNofollow: use O_DIRECTORY flag 2017-12-05 23:31:07 +01:00
sys_common_test.go MacOS: don't test symlinks longer than 1000 bytes 2018-02-28 20:40:08 +01:00
sys_common.go Fix three golint warnings 2018-06-19 20:16:21 +02:00
sys_darwin.go macos: fix O_DIRECT build failure 2018-07-04 09:04:00 +02:00
sys_linux.go macos: fix O_DIRECT build failure 2018-07-04 09:04:00 +02:00
unix2syscall_darwin.go syscallcompat: add Darwin version of unix2syscall 2017-12-06 00:18:38 +01:00
unix2syscall_linux.go Fix assignment error in Unix2syscall by converting Timespec into Nsec (#203) 2018-02-03 13:42:49 +01:00