Fix quadratic file reading in restic mount

This commit is contained in:
greatroar
2020-06-14 20:48:52 +02:00
committed by Michael Eischer
parent 8598bb042b
commit d42c169458
2 changed files with 24 additions and 32 deletions

View File

@@ -146,8 +146,6 @@ func TestFuseFile(t *testing.T) {
t.Errorf("test %d failed, wrong data returned (offset %v, length %v)", i, offset, length)
}
}
rtest.OK(t, f.Release(ctx, nil))
}
// Test top-level directories for their UID and GID.