mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 08:29:24 +08:00
Rename End_of_file variable, implement platform indepenent memory_map.go
This commit is contained in:
@@ -145,7 +145,7 @@ func (n *Needle) Append(w *os.File, version Version) (offset uint64, size uint32
|
||||
return
|
||||
}
|
||||
} else {
|
||||
offset = uint64(mMap.End_Of_File + 1)
|
||||
offset = uint64(mMap.End_of_file + 1)
|
||||
}
|
||||
|
||||
bytesToWrite, size, actualSize, err := n.prepareWriteBuffer(version)
|
||||
|
Reference in New Issue
Block a user