Hi,

I have a file system filter driver that sets the delete flag for a file to be deleted. when iam trying to delete a directory recursively, iam getting an error saying that DIRECTORY_NOT_EMPTY in the end, when directory has no more files to delete.

I suspect that there are some open handles to the deleted files, because of which they are not getting deleted even though i execute ZwClose.

please advice.