mount: Fix parent inode used by snapshots dir

This commit is contained in:
Michael Eischer
2022-08-07 13:02:40 +02:00
parent cfa80e2c6b
commit 0b7291b8b2
2 changed files with 14 additions and 12 deletions

View File

@@ -68,7 +68,7 @@ func NewRoot(repo restic.Repository, cfg Config) *Root {
}
}
root.SnapshotsDir = NewSnapshotsDir(root, rootInode, NewSnapshotsDirStructure(root, cfg.PathTemplates, cfg.TimeTemplate), "")
root.SnapshotsDir = NewSnapshotsDir(root, rootInode, rootInode, NewSnapshotsDirStructure(root, cfg.PathTemplates, cfg.TimeTemplate), "")
return root
}