Bug when locking the volume
A Linux ext2/ext3 file system driver for Windows
Brought to you by:
matt_wu
When I try to use the FSCTL_LOCK_VOLUME control code on a volume that uses ext2fsd (0.69), the function DeviceIoControl does not return, and the process can no longer be killed.
No problem when used on a NTFS volume.
The bug occurs on Windows 7 and 8.1. I can check on other versions if it can help.
The same call in another executable does not produce the bug. It seems related to a property of the executable, but I don't know what.
I forgot to say: the bug occurs only if the volume cannot be locked. If the volume has no open handle and can be locked successfully, the bug does not occur.
Will follow the bug :)
Good morning, i'm using the version 0.69 and i'm facing the same issue, using deviceiocontrol to lock the volume with FSCTL_LOCK_VOLUME freeze the thread and api never return.
After looking more in deep in driver source code i notice that CcWaitForCurrentLazyWriterActivity is used in driver. this probably this api which waiting for locking the volume.?!