summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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