[cryptohome] finalize lockbox asynchronously
Do finalization asynchronously in AsyncMount so we don't block from returning to
the caller. We no longer need to finalize at TPM completion if the cryptohome is
mounted, since we now always finalize as part of mounting.
BUG=chromium-os:154396
TEST=unit,trybot
Change-Id: I528cd0b61ad4d3c507b89bf78d372886541e215f
Signed-off-by: Elly Fong-Jones <ellyjones@chromium.org>
(cherry picked from commit cc2c4f4eceaeb3381a4d62587db3977c461f3362)
Reviewed-on: https://gerrit.chromium.org/gerrit/35460
3 files changed