rclone/vfs/vfscache
Nick Craig-Wood 4ed4483bbc vfs: fix fatal error: sync: unlock of unlocked mutex in panics
Before this change a panic could be overwritten with the message

    fatal error: sync: unlock of unlocked mutex

This was because we temporarily unlocked the mutex, but failed to lock
it again if there was a panic.

This is code is never the cause of an error but it masks the
underlying error by overwriting the panic cause.

See: https://forum.rclone.org/t/serve-webdav-is-crashing-fatal-error-sync-unlock-of-unlocked-mutex/46300
2024-06-24 09:30:59 +01:00
..
downloaders vfs: fix download loop when file size shrunk 2024-03-26 17:32:10 +00:00
writeback vfs: make sure struct field is aligned for atomic access 2023-08-22 12:52:13 +01:00
cache_test.go vfs: add --vfs-cache-min-free-space to control minimum free space on the disk containing the cache 2023-09-07 15:57:45 +01:00
cache.go systemd: Fix detection and switch to the coreos package everywhere 2023-12-02 14:17:15 +00:00
item_test.go vfs: fix stale data when using --vfs-cache-mode full 2024-01-15 11:12:59 +00:00
item.go vfs: fix fatal error: sync: unlock of unlocked mutex in panics 2024-06-24 09:30:59 +01:00