mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 00:39:56 +08:00
mount: fix new inode allocation (#3633)
This commit is contained in:
@@ -80,7 +80,7 @@ func (i *InodeToPath) Lookup(path util.FullPath, unixTime int64, isDirectory boo
|
|||||||
}
|
}
|
||||||
if !isHardlink {
|
if !isHardlink {
|
||||||
for _, found := i.inode2path[inode]; found; inode++ {
|
for _, found := i.inode2path[inode]; found; inode++ {
|
||||||
_, found = i.inode2path[inode]
|
_, found = i.inode2path[inode+1]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user