We need to get the locks back *after* the child runs.
}
p = add_history(FAILTEST_FCNTL, file, line, &call);
}
p = add_history(FAILTEST_FCNTL, file, line, &call);
if (should_fail(p)) {
p->u.fcntl.ret = -1;
if (should_fail(p)) {
p->u.fcntl.ret = -1;
else
p->error = EDEADLK;
} else {
else
p->error = EDEADLK;
} else {
p->u.fcntl.ret = fcntl(p->u.fcntl.fd, p->u.fcntl.cmd,
&p->u.fcntl.arg.fl);
if (p->u.fcntl.ret == -1)
p->u.fcntl.ret = fcntl(p->u.fcntl.fd, p->u.fcntl.cmd,
&p->u.fcntl.arg.fl);
if (p->u.fcntl.ret == -1)