Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1d246f68 authored by yingying's avatar yingying Committed by Gerrit - the friendly Code Review server
Browse files

idmap: Do not unlink the file if it is locked by another process.

The idmap file will be locked if it is used by one process. Then if another
process need to access this file, it will get the file locked state.

So in this case, should not unlink the file. Otherwise this file will be
deleted by this process, and the another process which locked it will fail
to write the file.

CRs-fixed: 763809

Change-Id: I2bca8b04dd82b5a56d30b103325ba7e22f0072d9
parent 1c6d9d68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment