Browse Source

mount: fix new inode allocation (#3633)

pull/3635/head
VictorSFF 2 years ago
committed by GitHub
parent
commit
10d545060f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      weed/mount/inode_to_path.go

2
weed/mount/inode_to_path.go

@ -80,7 +80,7 @@ func (i *InodeToPath) Lookup(path util.FullPath, unixTime int64, isDirectory boo
}
if !isHardlink {
for _, found := i.inode2path[inode]; found; inode++ {
_, found = i.inode2path[inode]
_, found = i.inode2path[inode+1]
}
}
}

Loading…
Cancel
Save