mirror of
https://github.com/octoleo/restic.git
synced 2025-02-08 22:58:24 +00:00
mount: remove unused inode field from root node
This commit is contained in:
parent
74ae76036f
commit
cfa80e2c6b
@ -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),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user