Reference counting for FS filter drivers

Hi,
Referring to the article in the NT Insider 9/2 about file reference
counting, I was wandering if the following is correct:

If, during receiving an IRP_MJ_CLOSE, the FileObject->DeletePending flag
is set, then it is safe to delete any file related data structure the
filter driver has for that file, regardless of the SectionObject state for
that file.

Rami

IIRC you cannot receive CLOSE on a file object which is still known to MM.

Max

----- Original Message -----
From:
To: “File Systems Developers”
Sent: Wednesday, May 22, 2002 1:48 PM
Subject: [ntfsd] Reference counting for FS filter drivers

> Hi,
> Referring to the article in the NT Insider 9/2 about file reference
> counting, I was wandering if the following is correct:
>
> If, during receiving an IRP_MJ_CLOSE, the FileObject->DeletePending flag
> is set, then it is safe to delete any file related data structure the
> filter driver has for that file, regardless of the SectionObject state for
> that file.
>
> Rami
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>