commit | 73abdb2150869545359528216f22924a0c02256a | [log] [tgz] |
---|---|---|
author | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | Tue Feb 10 21:23:36 2009 +0000 |
committer | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | Tue Feb 10 21:23:36 2009 +0000 |
tree | 08c0586386c1c7c7169ce3b2510e8e81abe63d7f | |
parent | 529cdf3a9bd5d6c8f29d18a00ce3229880b9e4c2 [diff] |
Fix the ordering of the flush+unlock+close operations on the exit status file in autotestd. We need to unlock before we close, and we also need to make sure the exit status is written out before we unlock. Risk: Low Visibility: Eliminate a race condition + flock breakage. Signed-off-by: John Admanski <jadmanski@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@2768 592f7852-d20e-0410-864c-8624ca9c26a4