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:
parent
7395f0e680
commit
502250d08f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user