Commit Graph

4 Commits

Author SHA1 Message Date
Noctis Ackerman d5b9695214 fs: sdfat: Fix frag_ratio formula
When there is no full au in AMAP, if we use the number of non-clean au
divides fsi->used_clusters * CLUS_PER_AU(sb), the frag_ratio is always
smaller than (or equal with) 100%, which is not right.

Actually, frag_ratio should be the the ratio that non-clean aus divides
the number of aus if all used_clusters are contiguous.

Signed-off-by: Noctis Ackerman <noctis.akm@gmail.com>
2019-01-11 15:57:44 +01:00
Paul Keith 07d63cd2c7 Update to version 2.0.6 2018-03-22 18:02:48 +01:00
Andreas Schneider 0490ece85e Update from SM-G950F_OO_Opensource_kernel 2018-02-12 19:25:18 +01:00
Andreas Schneider 8e7bcf4240 The big bang!
Imported from G955FXXU1AQDD sources.
2018-02-12 18:51:19 +01:00