search for: clean_obsolete_lock

Displaying 1 result from an estimated 1 matches for "clean_obsolete_lock".

2010 Nov 25
4
[PATCH]improve suspend_evtchn lock processing
...tion, in "cleanup" block, I can''t see any reason for checking if(suspend_evtchn != -1), if suspend_evtchn=-1, it doesn''t remove the lock file and later there is no chance to remove it. These places have been modified in the following patch, and, in addition, a function clean_obsolete_lock() is added to clean an invalid lock file which is unlinked from previous operations for any kind of reason (e.g., kill the process). Any comments? Signed-off-by Chunyan Liu diff -r 3c4c3d48a835 tools/libxc/xc_suspend.c --- a/tools/libxc/xc_suspend.c Thu Aug 26 11:16:56 2010 +0100 +++ b/tool...