mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-24 17:32:29 -05:00
sys: FspFsvolCreate: clarify comment
This commit is contained in:
parent
a80a9d3d4c
commit
5c8da5518c
@ -302,7 +302,10 @@ static NTSTATUS FspFsvolCreateNoLock(
|
||||
(0 == StreamPart.Length) * sizeof(WCHAR));
|
||||
}
|
||||
|
||||
/* check and remove any volume prefix */
|
||||
/*
|
||||
* Check and remove any volume prefix. Only do this when RelatedFileObject is NULL,
|
||||
* because the volume prefix has been removed already from the RelatedFileNode.
|
||||
*/
|
||||
if (0 == RelatedFileObject && 0 < FsvolDeviceExtension->VolumePrefix.Length)
|
||||
{
|
||||
if (!FspFsvolDeviceVolumePrefixInString(FsvolDeviceObject, &FileNode->FileName) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user