(_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:
@@ -87,6 +87,8 @@ _krb5_xlock(krb5_context context, int fd, krb5_boolean exclusive,
|
|||||||
ret = EAGAIN;
|
ret = EAGAIN;
|
||||||
|
|
||||||
switch (ret) {
|
switch (ret) {
|
||||||
|
case 0:
|
||||||
|
break;
|
||||||
case EINVAL: /* filesystem doesn't support locking, let the user have it */
|
case EINVAL: /* filesystem doesn't support locking, let the user have it */
|
||||||
ret = 0;
|
ret = 0;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user