SOS---STATUS_FILE_LOCK_CONFLICT

Hi

Can you help me to analysie the following problem?

problem:
I’m writing a filter driver.
My driver is monitoring a folder and backup file that modified.
I trap IRP_MJ_WRITE and backup origin file to another folder.
Almost all the cases it works well except one case that a file is locked
by FastIOLock or IRP_MJ_LOCK_CONTROL.I got STATUS_FILE_LOCK_CONFLICT.

Can you give me a piece of code sample about this,or tell me way how to
modify it?

Thanks&Regards


ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn

Reading the file using a mapped section instead of a sequential read will
bypass the record locking checks.

/ted

-----Original Message-----
From: xxxxx@hotmail.com [mailto:xxxxx@hotmail.com]
Sent: Thursday, December 16, 2004 1:47 AM
To: Windows File Systems Devs Interest List
Cc: xxxxx@lists.osr.com
Subject: [ntfsd] SOS—STATUS_FILE_LOCK_CONFLICT

Hi

Can you help me to analysie the following problem?

problem:
I’m writing a filter driver.
My driver is monitoring a folder and backup file that modified. I trap
IRP_MJ_WRITE and backup origin file to another folder. Almost all the cases
it works well except one case that a file is locked by FastIOLock or
IRP_MJ_LOCK_CONTROL.I got STATUS_FILE_LOCK_CONFLICT.

Can you give me a piece of code sample about this,or tell me way how to
modify it?

Thanks&Regards


???ѽ??н???ʹ?? MSN Messenger: http://messenger.msn.com/cn


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@livevault.com To unsubscribe
send a blank email to xxxxx@lists.osr.com