aboutsummaryrefslogtreecommitdiff
path: root/weed
diff options
context:
space:
mode:
Diffstat (limited to 'weed')
-rw-r--r--weed/storage/volume_create_windows.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/storage/volume_create_windows.go b/weed/storage/volume_create_windows.go
index 3e7b5a879..494b13728 100644
--- a/weed/storage/volume_create_windows.go
+++ b/weed/storage/volume_create_windows.go
@@ -14,7 +14,6 @@ import (
func createVolumeFile(fileName string, preallocate int64, useMemoryMap bool) (*os.File, error) {
- useMemoryMap = true
mMap, exists := memory_map.FileMemoryMap[fileName]
if !exists {
file, e := os_overloads.OpenFile(fileName, windows.O_RDWR|windows.O_CREAT, 0644, useMemoryMap)