From 12fd8942f75b6c1531c4ad9a0560347c7bd7ccb3 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Fri, 18 Dec 2020 15:19:47 -0800 Subject: [PATCH] tst: notifyfs: root dir does not have dot entries --- tst/notifyfs/notifyfs.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tst/notifyfs/notifyfs.c b/tst/notifyfs/notifyfs.c index 19243e53..0870b49f 100644 --- a/tst/notifyfs/notifyfs.c +++ b/tst/notifyfs/notifyfs.c @@ -247,18 +247,6 @@ static NTSTATUS ReadDirectory(FSP_FILE_SYSTEM *FileSystem, UINT32 Count = FileCount(Notifyfs); UINT32 Index; - if (0 == Marker) - { - if (!AddDirInfo(L".", 0, Buffer, Length, PBytesTransferred)) - return STATUS_SUCCESS; - } - if (0 == Marker || (L'.' == Marker[0] && L'\0' == Marker[1])) - { - if (!AddDirInfo(L"..", 0, Buffer, Length, PBytesTransferred)) - return STATUS_SUCCESS; - Marker = 0; - } - Index = 0 == Marker ? 1 : wcstoul(Marker, 0, 10) + 1; for (; Count >= Index; Index++) if (!AddDirInfo(0, Index, Buffer, Length, PBytesTransferred))