commit | 9aec7a2fb6f368922dc9b332ca11fc9d58fcc956 | [log] [tgz] |
---|---|---|
author | Gao Xiang <gaoxiang25@huawei.com> | Thu Dec 07 11:17:57 2017 +0800 |
committer | Gao Xiang <gaoxiang25@huawei.com> | Thu Dec 07 11:37:19 2017 +0800 |
tree | a7cde7178a7ee1fa931a1feb35f992ff35bb892a | |
parent | 56b0e8c1dfd203a5a8caba082d670851107254a5 [diff] |
mFusePid should be cleared after waitpid successfully When waitpid is successful, we need to reset mFusePid since mFusePid will be killed again unnecessarily in doUnmount() if we don't reset mFusePid. As a result, it will kill another unrelated process in the case of pids wrap around. Test: reboot Fixes: 1d79d10 ("Check if sdcard daemon exited.") Change-Id: Icb422d5c81621f9f6b9f4b1218e94b1d89172763 Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>