llkd: do not call sync()
sync() will never return if the io subsystem is locked up, drop it. Test: llkd_unit_test Bug: 122263600 Change-Id: Ib378124415ce94da987d73391b027dc10317dbe9
This commit is contained in:
parent
2f171cc69e
commit
16649d22ca
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ void llkPanicKernel(bool dump, pid_t tid, const char* state, const std::string&
|
|||
// NOTREACHED
|
||||
return;
|
||||
}
|
||||
::sync();
|
||||
// Wish could ::sync() here, if storage is locked up, we will not continue.
|
||||
if (dump) {
|
||||
// Show all locks that are held
|
||||
android::base::WriteStringToFd("d", sysrqTriggerFd);
|
||||
|
|
Loading…
Reference in a new issue