summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-06-11 18:20:20 +0200
committerChristian Ambach <ambi@samba.org>2013-06-25 12:54:00 +0200
commit245b5ffddef945e071ea1b5d26de1da80a0b7ae8 (patch)
tree162cc3c4a2a38aec3749f894182a2f04d728792c /source3/lib
parent526f0dff9635ed1572152a61672013d5f96ddd74 (diff)
downloadsamba-245b5ffddef945e071ea1b5d26de1da80a0b7ae8.tar.gz
samba-245b5ffddef945e071ea1b5d26de1da80a0b7ae8.tar.bz2
samba-245b5ffddef945e071ea1b5d26de1da80a0b7ae8.zip
s3:lib add mapping for ETXTBSY
add ETXTBSY to the errno->STATUS conversion table. It will be mapped to STATUS_SHARING_VIOLATION Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/errmap_unix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c
index 28f527ec95..c5e190ce8c 100644
--- 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
};
/*********************************************************************