rclone/vfs/vfscache
Nick Craig-Wood bc705e14d8 vfscache: fix fatal error: sync: unlock of unlocked mutex error
This message is a double panic and was actually caused by an assertion
panic in:

vfs/vfscache/downloaders/downloaders.go

This is triggered by the code added relatively recently to fix a bug
with renaming files:

ec72432cec vfs: fix failed to _ensure cache internal error: downloaders is nil error

So it appears that item.o may be nil at this point.

This patch detects item.o being nil and fetches it again with NewObject.

Fixes #6190 Fixes #6235
2022-06-21 14:28:53 +01:00
..
downloaders Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00
writeback Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
cache.go vfs: error strings should not be capitalized 2022-05-16 12:43:43 +02:00
cache_test.go vfs: add vfs/stats remote control to show statistics - fixes #5816 2021-11-23 18:00:21 +00:00
item.go vfscache: fix fatal error: sync: unlock of unlocked mutex error 2022-06-21 14:28:53 +01:00
item_test.go Spelling fixes 2020-10-14 15:21:31 +01:00