Merge "fs_mgr: fix errno setted by mount_with_alternatives" am: 488525b47b am: 21a33342af
am: 56c920aed9
Change-Id: I12fea4ae42c6c7071355911d968432ce5d4e07ee
This commit is contained in:
commit
cc9d94ce04
1 changed files with 4 additions and 2 deletions
|
|
@ -563,8 +563,10 @@ static int mount_with_alternatives(struct fstab *fstab, int start_idx, int *end_
|
|||
}
|
||||
} else {
|
||||
fs_stat |= FS_STAT_FULL_MOUNT_FAILED;
|
||||
/* back up errno for crypto decisions */
|
||||
mount_errno = errno;
|
||||
/* back up the first errno for crypto decisions */
|
||||
if (mount_errno == 0) {
|
||||
mount_errno = errno;
|
||||
}
|
||||
}
|
||||
log_fs_stat(fstab->recs[i].blk_device, fs_stat);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue