1
0
mirror of https://github.com/winfsp/winfsp.git synced 2025-10-30 03:28:38 -05:00

sys: create: fix status return (IFSTEST)

This commit is contained in:
Bill Zissimopoulos
2016-12-17 12:43:00 -08:00
parent 299605b8fc
commit c780912810

View File

@@ -263,7 +263,7 @@ static NTSTATUS FspFsvolCreateNoLock(
/* must be a relative path */ /* must be a relative path */
if (sizeof(WCHAR) <= FileName.Length && L'\\' == FileName.Buffer[0]) if (sizeof(WCHAR) <= FileName.Length && L'\\' == FileName.Buffer[0])
return STATUS_OBJECT_NAME_INVALID; return STATUS_INVALID_PARAMETER; /* IFSTEST */
BOOLEAN AppendBackslash = BOOLEAN AppendBackslash =
sizeof(WCHAR) * 2/* not empty or root */ <= RelatedFileNode->FileName.Length && sizeof(WCHAR) * 2/* not empty or root */ <= RelatedFileNode->FileName.Length &&