OSDN Git Service

make shutdown safe for double calls.
authorKeun-young Park <keunyoung@google.com>
Tue, 14 Mar 2017 01:02:50 +0000 (18:02 -0700)
committerKeun-young Park <keunyoung@google.com>
Wed, 15 Mar 2017 00:27:02 +0000 (17:27 -0700)
commita5bbb5e3c13db677a30d26f2a2c3487dfe28f66a
tree10f1ce0f4e044bb8645f006151db2bea69e60436
parent92f21f5294d5b146e9694dc0a5a62775bf0fab8f
make shutdown safe for double calls.

- In new shutdown sequence, volume shutdown is requested in two places:
  system_server and init.
- Make VolumeManager.shutdown safe for double calls.
  It crashed before this change.

bug: 36004738
Test: reboot and check last_kmsg for crash / vdc timeout
Change-Id: I296913959b2647b65d66553073f2032545beba57
VolumeManager.cpp