From d83fece068022f0e03b5bb80ccafc57620d1c0e8 Mon Sep 17 00:00:00 2001 From: Olga Kornievskaia Date: Mon, 2 May 2011 13:38:41 -0400 Subject: [PATCH] [driver] fixing return value for security query rdbss doesn't like status_buffer_too_small return and instead needs status_buffer_overflow --- sys/nfs41_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c index 0d329d1..2d865a7 100644 --- a/sys/nfs41_driver.c +++ b/sys/nfs41_driver.c @@ -3705,7 +3705,7 @@ NTSTATUS nfs41_QuerySecurityInformation ( DbgP("nfs41_QuerySecurityInformation: provided buffer size=%d but we need %d\n", RxContext->CurrentIrpSp->Parameters.QuerySecurity.Length, entry->u.Acl.buf_len); - status = STATUS_BUFFER_TOO_SMALL; + status = STATUS_BUFFER_OVERFLOW; RxContext->InformationToReturn = entry->u.Acl.buf_len; } else if (entry->status == STATUS_SUCCESS) { if (RtlValidSecurityDescriptor(entry->u.Acl.buf)) {