working version3

This commit is contained in:
Chris Lu
2018-07-24 01:36:04 -07:00
parent 0b99557c29
commit 4f317c7e3d
12 changed files with 80 additions and 64 deletions

View File

@@ -33,7 +33,7 @@ type SuperBlock struct {
func (s *SuperBlock) BlockSize() int {
switch s.version {
case Version2:
case Version2, Version3:
return _SuperBlockSize + int(s.extraSize)
}
return _SuperBlockSize