diff options
| author | chrislu <chris.lu@gmail.com> | 2022-07-28 18:06:49 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-07-28 18:06:49 -0700 |
| commit | 89e276de6410dc282657f9429db1b1acb7201130 (patch) | |
| tree | 7a8f40e0807461e091c01896237bd70b039b057c /weed | |
| parent | a458bee9f27e15450b9f9c2aa3a186737e4672e2 (diff) | |
| download | seaweedfs-89e276de6410dc282657f9429db1b1acb7201130.tar.xz seaweedfs-89e276de6410dc282657f9429db1b1acb7201130.zip | |
fix loop
Diffstat (limited to 'weed')
| -rw-r--r-- | weed/mount/inode_to_path.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/mount/inode_to_path.go b/weed/mount/inode_to_path.go index f12121dd9..c287f4791 100644 --- a/weed/mount/inode_to_path.go +++ b/weed/mount/inode_to_path.go @@ -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 |
