git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3:lib add mapping for ETXTBSY
[samba.git]
/
source3
/
lib
/
errmap_unix.c
diff --git
a/source3/lib/errmap_unix.c
b/source3/lib/errmap_unix.c
index 28f527ec95e69fe356b19d4dbf9105dacfcd2163..c5e190ce8c23fe44c5a73a09b0de0b92d3db099a 100644
(file)
--- a/
source3/lib/errmap_unix.c
+++ b/
source3/lib/errmap_unix.c
@@
-111,6
+111,9
@@
static const struct {
#ifdef ENOTSUP
{ ENOTSUP, NT_STATUS_NOT_SUPPORTED},
#endif
+#ifdef ETXTBSY
+ { ETXTBSY, NT_STATUS_SHARING_VIOLATION },
+#endif
};
/*********************************************************************