commit | 1d246f680f8d0fcec53961391fe9a36e8728a219 | [log] [tgz] |
---|---|---|
author | yingying <yingying@codeaurora.org> | Tue Nov 25 13:21:49 2014 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Oct 12 20:33:54 2015 -0700 |
tree | aaf129ccf8426a2f3ad6454aa54d2f25dfbdf0a7 | |
parent | 1c6d9d680d7d3717038019c11a30d8e4c7811120 [diff] |
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