Change-Id: I1d3c9d11932afa22a2b7ea2dc101eba36ec39cf7
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
// create crypto type device mapping layer to mount the plain partition
// should be encrypted here.
auto cryptoBlkDev = createCryptoBlkDev(source, DM_DEFAULT_LABEL_NAME, sanitizeKey(key), DM_DEFAULT_CRYPTO_NAME);
- start = true;
// Force filesystem check via fcsf might be able to avoid fail situation during decryption.
Ext4Tool ext4CryptoBlkDev(cryptoBlkDev);
+ start = true;
+
for (int retry = 0; retry < 32; retry++) {
try {
ext4CryptoBlkDev.forceCleanUp();