mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08:00
vfs: Remove uneeded locking from read write handle String()
This commit is contained in:
parent
40fe97e946
commit
05bc19c331
|
@ -184,8 +184,6 @@ func (fh *RWFileHandle) String() string {
|
|||
if fh == nil {
|
||||
return "<nil *RWFileHandle>"
|
||||
}
|
||||
fh.mu.Lock()
|
||||
defer fh.mu.Unlock()
|
||||
if fh.file == nil {
|
||||
return "<nil *RWFileHandle.file>"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user