|
|
@@ -575,7 +575,7 @@ func (c *Cache) scanningData() { |
|
|
lastNode := walkTrace[len(walkTrace)-1] |
|
|
lastNode := walkTrace[len(walkTrace)-1] |
|
|
visitCnt++ |
|
|
visitCnt++ |
|
|
|
|
|
|
|
|
e, err := lastNode.ReadDir(1) |
|
|
|
|
|
|
|
|
e, err := lastNode.Readdir(1) |
|
|
if err == io.EOF { |
|
|
if err == io.EOF { |
|
|
lastNode.Close() |
|
|
lastNode.Close() |
|
|
walkTrace = walkTrace[:len(walkTrace)-1] |
|
|
walkTrace = walkTrace[:len(walkTrace)-1] |
|
|
|