mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[FASTFAT]
Add required fields to handle file system notifications to device extension/VCB and properly initialize them on volume mount svn path=/trunk/; revision=62443
This commit is contained in:
@@ -600,6 +600,8 @@ VfatMount(
|
||||
VolumeFcb->Flags |= VCB_IS_DIRTY;
|
||||
|
||||
FsRtlNotifyVolumeEvent(DeviceExt->FATFileObject, FSRTL_VOLUME_MOUNT);
|
||||
FsRtlNotifyInitializeSync(&DeviceExt->NotifySync);
|
||||
InitializeListHead(&DeviceExt->NotifyList);
|
||||
|
||||
Status = STATUS_SUCCESS;
|
||||
|
||||
|
||||
@@ -291,6 +291,10 @@ typedef struct DEVICE_EXTENSION
|
||||
ULONG BaseDateYear;
|
||||
|
||||
LIST_ENTRY VolumeListEntry;
|
||||
|
||||
/* Notifications */
|
||||
LIST_ENTRY NotifyList;
|
||||
PNOTIFY_SYNC NotifySync;
|
||||
} DEVICE_EXTENSION, VCB, *PVCB;
|
||||
|
||||
typedef struct
|
||||
|
||||
Reference in New Issue
Block a user