OSDN Git Service

Correctly remove asecs for full disk encryption
authorPaul Lawrence <paullawrence@google.com>
Tue, 2 Sep 2014 17:52:15 +0000 (10:52 -0700)
committerJP Abgrall <jpa@google.com>
Tue, 2 Sep 2014 18:25:26 +0000 (18:25 +0000)
commit60dec16c5026d29a52791ad790860d247f47f8f2
treeea0cae52b99eefcdd5a97d5df838a72f22a227e0
parent74f29f1df7d12c0cc06e9d6685adf15e757d8eda
Correctly remove asecs for full disk encryption

Previously this would fail if the framework wasn't stopped. The failure
would then stop full disk encryption. The fact that the unmount worked,
however, would then stop the second attempt from achieving anything.

Fix in line with current retry philosophy

We still need to figure out why Devmapper::destroy() fails at first.

Bug: 17301843
Change-Id: I405a36c832ccdebf2d904bef77f15eea174a6bfb
VolumeManager.cpp