mirror of
https://github.com/restic/restic.git
synced 2025-12-04 14:02:03 +00:00
mount: Fix parent inode used by snapshots dir
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user