(_krb5_xlock): handle that everything was ok, and don't put an error

in the error strings then


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13390 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-02-19 21:22:52 +00:00
parent 9503937a3d
commit 73447cd88f

View File

@@ -87,6 +87,8 @@ _krb5_xlock(krb5_context context, int fd, krb5_boolean exclusive,
ret = EAGAIN;
switch (ret) {
case 0:
break;
case EINVAL: /* filesystem doesn't support locking, let the user have it */
ret = 0;
break;