1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-25 01:34:38 +03:00

Fix gulm->errno error number conversion.

This commit is contained in:
Patrick Caulfield 2005-02-17 12:56:19 +00:00
parent 7395f0e680
commit 502250d08f

View File

@ -650,12 +650,10 @@ static int gulm_to_errno(int gulm_ret)
switch (gulm_ret) switch (gulm_ret)
{ {
case lg_err_TryFailed: case lg_err_TryFailed:
case lg_err_AlreadyPend:
errno = EAGAIN; errno = EAGAIN;
break; break;
case lg_err_AlreadyPend:
errno = EBUSY;
/* More?? */ /* More?? */
default: default:
errno = EINVAL; errno = EINVAL;