generic/192: fix instability on exFAT
exFAT's access time has 2s granularity and is rounded down.
This can cause problems, e.g.:
if real access times are: time1=2 and time2=7, then 7 - 2 = 5;
but exfat_atime(7) - exfat_atime(2) => 6 - 2 = 4 which is less
than expected delay.
To fix this, even (delay - 1s) should be considered as a valid result
Signed-off-by: Pavel Reichl <firstname.lastname@example.org>
Reviewed-by: Eryu Guan <email@example.com>
Signed-off-by: Eryu Guan <firstname.lastname@example.org>
1 file changed