um: Do not unlock mutex that is not hold.
Return error instead of trying to unlock a mutex that is not hold. Signed-off-by: NDaniel Walter <dwalter@google.com> Reviewed-by: NAnton Ivanov <anton.ivanov@cambridgegreys.com> Acked-by: NAnton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: NRichard Weinberger <richard@nod.at>
Showing
想要评论请 注册 或 登录