From 245b5ffddef945e071ea1b5d26de1da80a0b7ae8 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Tue, 11 Jun 2013 18:20:20 +0200 Subject: 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 Reviewed-by: Volker Lendecke --- source3/lib/errmap_unix.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/lib') 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 }; /********************************************************************* -- cgit