diff options
author | Stefan Ott <stefan@ott.net> | 2020-04-04 01:34:33 +0200 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-07 00:20:13 +0200 |
commit | 63bf8e4acdbcbfc03e5023291c9ee137f858969f (patch) | |
tree | 87d67861b88fd6594b06bafac904ed1201c710fe /rbutil/bspatch/Makefile | |
parent | 180cef835bf40d0081895773aaa637ac926bb0ac (diff) | |
download | rockbox-63bf8e4acdbcbfc03e5023291c9ee137f858969f.tar.gz rockbox-63bf8e4acdbcbfc03e5023291c9ee137f858969f.zip |
Consider sector size when checking cluster size
On file systems with 2048 bytes per cluster, the bpb_secperclus value
gets multiplied by 4 when the meta data is loaded. This patch changes
the sanity check to consider (and reverse) that multiplication before
checking the cluster size.
Signed-off-by: Stefan Ott <stefan@ott.net>
Diffstat (limited to 'rbutil/bspatch/Makefile')
0 files changed, 0 insertions, 0 deletions