From 9bde067f16ec06c18b886fd1ab3e421e034b0493 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 8 Sep 2012 00:05:58 -0700 Subject: [PATCH] add comments --- weed-fs/src/pkg/storage/volume.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed-fs/src/pkg/storage/volume.go b/weed-fs/src/pkg/storage/volume.go index a77cdd07c..47affeca5 100644 --- a/weed-fs/src/pkg/storage/volume.go +++ b/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) } }