It seems to be safe to ignore 'file not locked' error

from server.  This effectively suppresses 'Unmapped error 1:158'.

MFC after:	1 month
This commit is contained in:
Boris Popov 2006-11-05 06:31:08 +00:00
parent c8e2104c9a
commit 834340ae9a

View File

@ -269,6 +269,8 @@ smb_maperror(int eclass, int eno)
return ENOENT;
case 145: /* samba */
return ENOTEMPTY;
case ERRnotlocked:
return 0; /* file become unlocked */
case 183:
return EEXIST;
case ERRquota: