[driver] fixing auth_sys session after gss session

This commit is contained in:
Olga Kornievskaia 2012-05-02 16:11:45 -04:00
parent 9dd4708aed
commit 2253b28ed3

View file

@ -2984,7 +2984,8 @@ NTSTATUS nfs41_CreateVNetRoot(
pVNetRootContext->session = existing_mount->gssp_session; pVNetRootContext->session = existing_mount->gssp_session;
break; break;
} }
if (pVNetRootContext->session) if (pVNetRootContext->session &&
pVNetRootContext->session != INVALID_HANDLE_VALUE)
found_matching_flavor = 1; found_matching_flavor = 1;
break; break;
} }