driver: fix for has_nfs_prefix()
Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
5628175fbb
commit
880dbf8afc
1 changed files with 1 additions and 1 deletions
|
|
@ -2361,7 +2361,7 @@ static NTSTATUS has_nfs_prefix(
|
||||||
{
|
{
|
||||||
NTSTATUS status = STATUS_BAD_NETWORK_NAME;
|
NTSTATUS status = STATUS_BAD_NETWORK_NAME;
|
||||||
|
|
||||||
if (NetRootName->Length >= SrvCallName->Length + NfsPrefix.Length) {
|
if (NetRootName->Length == SrvCallName->Length + NfsPrefix.Length) {
|
||||||
const UNICODE_STRING NetRootPrefix = {
|
const UNICODE_STRING NetRootPrefix = {
|
||||||
NfsPrefix.Length,
|
NfsPrefix.Length,
|
||||||
NetRootName->MaximumLength - SrvCallName->Length,
|
NetRootName->MaximumLength - SrvCallName->Length,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue