diff options
Diffstat (limited to 'weed/storage/disk_location.go')
| -rw-r--r-- | weed/storage/disk_location.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.go index 9ecc57459..c309b3f92 100644 --- a/weed/storage/disk_location.go +++ b/weed/storage/disk_location.go @@ -174,9 +174,6 @@ func (l *DiskLocation) DeleteCollectionFromDiskLocation(collection string) (e er } func (l *DiskLocation) deleteVolumeById(vid needle.VolumeId) (found bool, e error) { - l.volumesLock.Lock() - defer l.volumesLock.Unlock() - v, ok := l.volumes[vid] if !ok { return |
