From b851f1ca2bb488d5f957b27abf59680b0adea2ef Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 11 Dec 2019 10:28:49 +0100 Subject: [PATCH] server: Add status code for ELOOP error. Signed-off-by: Alexandre Julliard --- server/file.c | 1 + server/trace.c | 1 + 2 files changed, 2 insertions(+) diff --git a/server/file.c b/server/file.c index 4f348575149..71b84486b0f 100644 --- a/server/file.c +++ b/server/file.c @@ -678,6 +678,7 @@ void file_set_error(void) case ENODEV: set_error( STATUS_NO_SUCH_DEVICE ); break; case ENXIO: set_error( STATUS_NO_SUCH_DEVICE ); break; case EXDEV: set_error( STATUS_NOT_SAME_DEVICE ); break; + case ELOOP: set_error( STATUS_REPARSE_POINT_NOT_RESOLVED ); break; #ifdef EOVERFLOW case EOVERFLOW: set_error( STATUS_INVALID_PARAMETER ); break; #endif diff --git a/server/trace.c b/server/trace.c index 411369a4f65..5b1d3ddea98 100644 --- a/server/trace.c +++ b/server/trace.c @@ -5619,6 +5619,7 @@ static const struct { "PROCESS_IN_JOB", STATUS_PROCESS_IN_JOB }, { "PROCESS_IS_TERMINATING", STATUS_PROCESS_IS_TERMINATING }, { "PROCESS_NOT_IN_JOB", STATUS_PROCESS_NOT_IN_JOB }, + { "REPARSE_POINT_NOT_RESOLVED", STATUS_REPARSE_POINT_NOT_RESOLVED }, { "SECTION_TOO_BIG", STATUS_SECTION_TOO_BIG }, { "SEMAPHORE_LIMIT_EXCEEDED", STATUS_SEMAPHORE_LIMIT_EXCEEDED }, { "SHARING_VIOLATION", STATUS_SHARING_VIOLATION },