OSDN Git Service

Round down the filesystem size to a multiple of the block size
authorKen Sumrall <ksumrall@android.com>
Thu, 14 Jul 2011 00:27:07 +0000 (17:27 -0700)
committerKen Sumrall <ksumrall@android.com>
Thu, 14 Jul 2011 00:27:07 +0000 (17:27 -0700)
commit88833a6277f305b6a03ff29d8e9ffe717ddb4045
tree8f588ad9a1b3101a2f7d34c8c86bc8a6e6482833
parentdba332410528d11474ae9f878b6984755d55e299
Round down the filesystem size to a multiple of the block size

If it's not a multiple of the block size, then errors are generated
when making sparse images.  This doesn't change the size of the generated
filesystem, because partial blocks are not included in the filesystem.

Change-Id: Ifc00ef7961f651ce22c6400759eadce2775d7811
ext4_utils/make_ext4fs.c