mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-06-26 04:18:59 +02:00
fix loop
This commit is contained in:
parent
a458bee9f2
commit
89e276de64
|
@ -62,6 +62,7 @@ func (i *InodeToPath) EnsurePath(path util.FullPath, isDirectory bool) bool {
|
|||
}
|
||||
if i.EnsurePath(util.FullPath(dir), true) {
|
||||
i.Lookup(path, time.Now().Unix(), isDirectory, false, 0, false)
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
|
|
Loading…
Reference in a new issue