ensure inodes are not duplicating unless hardlinked

This commit is contained in:
chrislu
2022-02-27 23:13:49 -08:00
parent de77d00c81
commit 63a9d8f01d
6 changed files with 27 additions and 10 deletions

View File

@@ -74,7 +74,7 @@ func (wfs *WFS) Mkdir(cancel <-chan struct{}, in *fuse.MkdirIn, name string, out
return fuse.EIO
}
inode := wfs.inodeToPath.Lookup(entryFullPath, os.ModeDir, true, 0, true)
inode := wfs.inodeToPath.Lookup(entryFullPath, os.ModeDir, false, 0, true)
wfs.outputPbEntry(out, inode, newEntry)