libgocryptfs/internal/fusefrontend
Jakob Unterwurzacher 5dd9576a11 fusefrontend: replace unreliable "fd < 0" check
... with the "released" boolean.

For some reason, the "f.fd.Fd() < 0" check did not work reliably,
leading to nil pointer panics on the following wlock.lock().

The problem was discovered during fsstress testing and is unlikely
to happen in normal operations.

With this change, we passed 1700+ fsstress iterations.
2016-05-30 09:36:06 +02:00
..
args.go longnames part I: Create and OpenDir work with long filenames > 176 bytes 2016-02-06 22:54:14 +01:00
compat_darwin.go Move pathfs_frontend to internal/fusefrontend 2016-02-06 19:27:59 +01:00
compat_linux.go prelloc: warn and continue if fallocate(2) is not supported 2016-04-20 22:47:31 +02:00
file_holes.go Move pathfs_frontend to internal/fusefrontend 2016-02-06 19:27:59 +01:00
file.go fusefrontend: replace unreliable "fd < 0" check 2016-05-30 09:36:06 +02:00
fs_dir.go Fix "go tool vet -shadow=true" warnings 2016-04-10 21:31:15 +02:00
fs.go fusefrontend: use sync.Once for one-time warnings 2016-05-29 22:50:03 +02:00
names.go longnames part I: Create and OpenDir work with long filenames > 176 bytes 2016-02-06 22:54:14 +01:00
write_lock.go fusefrontend: simplify wlockMap 2016-05-29 22:40:05 +02:00