diff options
author | wangxp006 <wangxiaopeng7@huawei.com> | 2021-01-13 18:21:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-13 11:21:50 +0100 |
commit | dbff71b664c7536d09dc3172259d8984005b60fa (patch) | |
tree | cc65d856028396b90b26214a8219147e63242f74 /etc | |
parent | 0151112bd52a813620213c2e958aa89f556fdbb3 (diff) | |
download | initscripts-dbff71b664c7536d09dc3172259d8984005b60fa.tar initscripts-dbff71b664c7536d09dc3172259d8984005b60fa.tar.gz initscripts-dbff71b664c7536d09dc3172259d8984005b60fa.tar.bz2 initscripts-dbff71b664c7536d09dc3172259d8984005b60fa.tar.xz initscripts-dbff71b664c7536d09dc3172259d8984005b60fa.zip |
remove rename_device_lock when process does not exist
if rename_device is killed during fopen period in take_lock ,LOCKFILE will not be remove in sighandler.
Excute rename_device again, LOCKFILE is exist ,but the process with pid in LOCKFILE is not running, take_lock will never return.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions