[driver] fixing return value for security query

rdbss doesn't like status_buffer_too_small return and instead needs
status_buffer_overflow
This commit is contained in:
Olga Kornievskaia 2011-05-02 13:38:41 -04:00
parent 90513f177b
commit d83fece068

View file

@ -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)) {