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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163992

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: