diff options
| author | VictorSFF <113080569+VictorSFF@users.noreply.github.com> | 2022-09-09 21:32:19 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-09 06:32:19 -0700 |
| commit | 10d545060f5b1ef517786857726f409ed0f95652 (patch) | |
| tree | ea5b723d2c882fae607680c0a31d3f40881dcc83 | |
| parent | 41af5a6ee52c67a80fd28a65a159048b2764e5b9 (diff) | |
| download | seaweedfs-10d545060f5b1ef517786857726f409ed0f95652.tar.xz seaweedfs-10d545060f5b1ef517786857726f409ed0f95652.zip | |
mount: fix new inode allocation (#3633)
| -rw-r--r-- | weed/mount/inode_to_path.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/mount/inode_to_path.go b/weed/mount/inode_to_path.go index 512d60f45..ffa2c4271 100644 --- a/weed/mount/inode_to_path.go +++ b/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] } } } |
