2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-28 22:50:48 +00:00

mount: remove unused inode field from root node

This commit is contained in:
greatroar 2020-02-24 22:47:58 +01:00 committed by Michael Eischer
parent 74ae76036f
commit cfa80e2c6b

View File

@ -27,7 +27,6 @@ type Config struct {
type Root struct { type Root struct {
repo restic.Repository repo restic.Repository
cfg Config cfg Config
inode uint64
blobCache *bloblru.Cache blobCache *bloblru.Cache
*SnapshotsDir *SnapshotsDir
@ -50,7 +49,6 @@ func NewRoot(repo restic.Repository, cfg Config) *Root {
root := &Root{ root := &Root{
repo: repo, repo: repo,
inode: rootInode,
cfg: cfg, cfg: cfg,
blobCache: bloblru.New(blobCacheSize), blobCache: bloblru.New(blobCacheSize),
} }