Commit ad8555bd authored by Greg Kerr's avatar Greg Kerr Committed by Commit Bot

cryptohome: Fix location of comment in error handling code.

A comment wound up in the wrong place is CL 1141327, this moves it to
the correct location.

Bug: 211405
Change-Id: I2b7ce75d5e94764f4b577171f0804ed135a36644
Reviewed-on: https://chromium-review.googlesource.com/1178114Reviewed-by: default avatarRyo Hashimoto <hashimoto@chromium.org>
Commit-Queue: Greg Kerr <kerrnel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584101}
parent 3f6112ec
...@@ -328,9 +328,9 @@ MountError CryptohomeErrorToMountError(CryptohomeErrorCode code) { ...@@ -328,9 +328,9 @@ MountError CryptohomeErrorToMountError(CryptohomeErrorCode code) {
return MOUNT_ERROR_OLD_ENCRYPTION; return MOUNT_ERROR_OLD_ENCRYPTION;
case CRYPTOHOME_ERROR_MOUNT_PREVIOUS_MIGRATION_INCOMPLETE: case CRYPTOHOME_ERROR_MOUNT_PREVIOUS_MIGRATION_INCOMPLETE:
return MOUNT_ERROR_PREVIOUS_MIGRATION_INCOMPLETE; return MOUNT_ERROR_PREVIOUS_MIGRATION_INCOMPLETE;
// TODO(crbug.com/797563): Split the error space and/or handle everything.
case CRYPTOHOME_ERROR_REMOVE_FAILED: case CRYPTOHOME_ERROR_REMOVE_FAILED:
return MOUNT_ERROR_REMOVE_FAILED; return MOUNT_ERROR_REMOVE_FAILED;
// TODO(crbug.com/797563): Split the error space and/or handle everything.
case CRYPTOHOME_ERROR_LOCKBOX_SIGNATURE_INVALID: case CRYPTOHOME_ERROR_LOCKBOX_SIGNATURE_INVALID:
case CRYPTOHOME_ERROR_LOCKBOX_CANNOT_SIGN: case CRYPTOHOME_ERROR_LOCKBOX_CANNOT_SIGN:
case CRYPTOHOME_ERROR_BOOT_ATTRIBUTE_NOT_FOUND: case CRYPTOHOME_ERROR_BOOT_ATTRIBUTE_NOT_FOUND:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment