[FASTFAT]

Add really limited support for file system notifications.
In case of file creation, we report this.

More cases are missing, such as: dir creation, attributes change, size change, last write change.
See: http://msdn.microsoft.com/en-us/library/windows/desktop/aa364417%28v=vs.85%29.aspx as a reference

CORE-2582

svn path=/trunk/; revision=62445
This commit is contained in:
Pierre Schweitzer 2014-03-07 19:46:37 +00:00
parent d315b7bb39
commit 3d38a13543

View file

@ -754,6 +754,19 @@ VfatCreateFile(
&pFcb->FCBShareAccess);
}
if (Irp->IoStatus.Information == FILE_CREATED)
{
FsRtlNotifyFullReportChange(DeviceExt->NotifySync,
&(DeviceExt->NotifyList),
(PSTRING)&pFcb->PathNameU,
pFcb->PathNameU.Length - pFcb->LongNameU.Length,
NULL,
NULL,
FILE_NOTIFY_CHANGE_FILE_NAME,
FILE_ACTION_ADDED,
NULL);
}
pFcb->OpenHandleCount++;
/* FIXME : test write access if requested */