install: mkfs.f2fs: specify sector size for target image size
The total sectors that we want to format is used in different meanings from various users. This notifies its size based on 512 bytes explicitly. Bug: 76407663 Change-Id: I20687b40a1733d3b459a45f8b64a338c37a7bc95 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
This commit is contained in:
@@ -548,6 +548,8 @@ Value* FormatFn(const char* name, State* state, const std::vector<std::unique_pt
|
||||
"encrypt",
|
||||
"-O",
|
||||
"quota",
|
||||
"-w",
|
||||
"512",
|
||||
location.c_str(),
|
||||
(size < 512) ? nullptr : num_sectors.c_str(),
|
||||
nullptr };
|
||||
|
||||
Reference in New Issue
Block a user