commit | 7dd1b1bd08f55066e1b2f83dc03fe8b937cb6e09 | [log] [tgz] |
---|---|---|
author | Ed Tsai <Ed.Tsai@mediatek.com> | Tue Jan 19 17:36:57 2021 +0800 |
committer | Elliott Hughes <enh@google.com> | Wed Jan 20 14:09:49 2021 -0800 |
tree | 95ea34e58fdf7f7391974c2697fef829f2456c80 | |
parent | 52a1f477401229a9cace451885c5ce35553b400a [diff] |
Fixes the partition size for FAT. BLKGETSIZE is in units of 512 bytes rather than bytes or the sector size returned by BLKSSZGET. Use BLKGETSIZE64 instead, to get the block size in bytes. Also rename block_size to make it clearer that it's actually the size of the whole block device. Change-Id: I9eb6cd4394722f8624c6ac6368b6da31583f026e Test: Create an new filesystem by newfs_msdos