Browse Source

add comments

pull/2/head
Chris Lu 13 years ago
parent
commit
9bde067f16
  1. 2
      weed-fs/src/pkg/storage/volume.go

2
weed-fs/src/pkg/storage/volume.go

@ -53,7 +53,7 @@ func (v *Volume) maybeWriteSuperBlock() {
stat, _ := v.dataFile.Stat()
if stat.Size() == 0 {
header := make([]byte, SuperBlockSize)
header[0] = 1
header[0] = 1 //number of copies
v.dataFile.Write(header)
}
}

Loading…
Cancel
Save