summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2006-11-05 06:31:08 +0000
committerbp <bp@FreeBSD.org>2006-11-05 06:31:08 +0000
commit499769a9434f854d8c58f011509ffae07d45e003 (patch)
treee580aba63515886e07f438741f451dac0ae86ddd /sys
parentf8cbaf97aa5b1daeffd8875d133328e4173403ce (diff)
downloadFreeBSD-src-499769a9434f854d8c58f011509ffae07d45e003.zip
FreeBSD-src-499769a9434f854d8c58f011509ffae07d45e003.tar.gz
It seems to be safe to ignore 'file not locked' error
from server. This effectively suppresses 'Unmapped error 1:158'. MFC after: 1 month
Diffstat (limited to 'sys')
-rw-r--r--sys/netsmb/smb_subr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netsmb/smb_subr.c b/sys/netsmb/smb_subr.c
index 6895b65..23598a7 100644
--- a/sys/netsmb/smb_subr.c
+++ b/sys/netsmb/smb_subr.c
@@ -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:
OpenPOWER on IntegriCloud