Nick Craig-Wood
1e1af46a12
union: fix get free space for remotes which don't support it #6071
...
Before this fix GetFreeSpace returned math.MaxInt64 for remotes which
don't support reading free space, however this is used in various
comparison routines as a too large value, meaning that remotes of size
math.MaxInt64 were never being selected.
This fixes GetFreeSpace to return math.MaxInt64 - 1 so then can be selected.
It also fixes GetUsedSpace the same way however as the default for not
supported was 0 this was very unlikely to have ever caused a problem.
2022-06-16 22:13:50 +01:00
..
2021-10-20 22:56:19 +02:00
2022-06-08 14:57:25 +01:00
2022-06-13 21:13:50 +02:00
2022-06-08 18:29:42 +01:00
2022-06-13 21:13:50 +02:00
2022-06-13 21:13:50 +02:00
2022-06-13 21:13:50 +02:00
2022-05-17 11:08:37 +01:00
2022-06-13 21:13:50 +02:00
2022-06-13 21:13:50 +02:00
2022-05-13 12:08:10 +01:00
2022-06-16 22:13:50 +01:00
2022-06-16 22:13:50 +01:00
2022-01-26 00:02:17 +01:00
2022-06-13 21:13:50 +02:00
2022-06-08 11:58:32 +01:00
2022-06-13 21:13:50 +02:00
2022-06-13 21:13:50 +02:00
2022-05-13 12:08:10 +01:00
2022-06-13 21:13:50 +02:00
2022-01-26 11:41:01 +01:00
2022-06-13 21:13:50 +02:00
2022-05-07 21:54:14 +01:00
2022-06-13 21:13:50 +02:00
2022-03-08 22:39:23 +00:00
2022-06-13 21:13:50 +02:00
2022-06-13 21:13:50 +02:00
2021-11-09 13:43:45 +00:00
2021-11-07 11:53:30 +00:00
2022-06-13 21:13:50 +02:00
2022-06-14 10:21:23 +01:00
2022-06-13 21:13:50 +02:00
2022-06-16 15:45:42 +02:00
2022-05-13 12:08:10 +01:00
2022-05-13 12:08:10 +01:00
2022-06-13 21:13:50 +02:00
2022-06-16 22:29:36 +02:00
2022-06-13 21:13:50 +02:00
2022-06-08 21:14:53 +02:00
2022-06-13 21:13:50 +02:00
2022-06-13 21:13:50 +02:00
2022-05-12 20:43:54 +01:00
2022-06-13 21:13:50 +02:00
2022-06-13 21:13:50 +02:00
2022-06-16 22:13:50 +01:00
2022-06-13 21:13:50 +02:00
2022-06-13 21:13:50 +02:00
2022-06-13 21:13:50 +02:00
2022-06-13 21:13:50 +02:00