commit | 4559764e9f8adadcc80c825fb5dafd3dfb739bcf | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Mon Apr 04 16:59:21 2011 -0700 |
committer | Christopher Tate <ctate@google.com> | Mon Apr 04 16:59:21 2011 -0700 |
tree | b519a74bea7154901575cddce97661db59ee620f | |
parent | 78a9f6a8227d1e9b465acb84f8476a30c5af9c13 [diff] |
Fix deadlock in BackupManagerService Lock ordering bug. The fix is to avoid having to hold both locks simultaneously in one prong of the deadlock. (Further strengthening: the code path for potentially acquiring both simultaneously now begins at a common method, ensuring that lock ordering is always consistent.) Change-Id: If9433aff8326fec2ba0e97e96ad2d835b01e2cda