mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:23:47 +01: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