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
1 file changed