Dear all,
I met a problem when deleting a file with my ext2fsd.
When deleting a file, and answer Yes when asked whether move it to Recycled, then an IRP_MJ_SET_INFORMATION ( FileDispositionInformation, bDelet = TRUE ) request will arrive…
At this situation, for Fastfat, Another IRP_MJ_SET_INFORMATION - FileDispositionInformation with value bDelet = FALSE will follow the request. But for my ext2fsd, there is not such a request, then my driver will delete the file permanently, and later create request will fail because the file could not be found now.
Anyone has any ideas?
Best wishes,
Matt
http://sys.xiloo.com
Matt Wu£¬
I got it. Sine the frist call has added the DELETE_PENDING flag, the second will be rejected.
It cost me so long time!!!
Thanks!
Matt
On 2002-07-17, you wrote:
= = = = = = = = = = = = = = = = = = = =
Dear all,
I met a problem when deleting a file with my ext2fsd.
When deleting a file, and answer Yes when asked whether move it to Recycled, then an IRP_MJ_SET_INFORMATION ( FileDispositionInformation, bDelet = TRUE ) request will arrive…
At this situation, for Fastfat, Another IRP_MJ_SET_INFORMATION - FileDispositionInformation with value bDelet = FALSE will follow the request. But for my ext2fsd, there is not such a request, then my driver will delete the file permanently, and later create request will fail because the file could not be found now.
Anyone has any ideas?
Best wishes,
Matt
>http://sys.xiloo.com
>
>
>
>
>—
>You are currently subscribed to ntfsd as: mattwu@163.com
>To unsubscribe send a blank email to %%email.unsub%%
>.
= = = = = = = = = = = = = = = = = = = =