Merge pull request #1337 from mungomat/fuse_updateRepo

fuse: mount and backup in parallel (#1330)
This commit is contained in:
Alexander Neumann committed 2017-10-08 09:45:28 +02:00
commit bb3ed54291
3 files changed
+378 -101

No files matched your search

+6
View File
@@ -67,6 +67,12 @@ func mount(opts MountOptions, gopts GlobalOptions, mountpoint string) error {
return err
}
lock, err := lockRepo(repo)
defer unlockRepo(lock)
if err != nil {
return err
}
err = repo.LoadIndex(context.TODO())
if err != nil {
return err