mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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:
parent
623048035a
commit
0ef03fcf25
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue