mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 04:33:13 +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;
|
VolumeFcb->Flags |= VCB_IS_DIRTY;
|
||||||
|
|
||||||
FsRtlNotifyVolumeEvent(DeviceExt->FATFileObject, FSRTL_VOLUME_MOUNT);
|
FsRtlNotifyVolumeEvent(DeviceExt->FATFileObject, FSRTL_VOLUME_MOUNT);
|
||||||
|
FsRtlNotifyInitializeSync(&DeviceExt->NotifySync);
|
||||||
|
InitializeListHead(&DeviceExt->NotifyList);
|
||||||
|
|
||||||
Status = STATUS_SUCCESS;
|
Status = STATUS_SUCCESS;
|
||||||
|
|
||||||
|
|
|
@ -291,6 +291,10 @@ typedef struct DEVICE_EXTENSION
|
||||||
ULONG BaseDateYear;
|
ULONG BaseDateYear;
|
||||||
|
|
||||||
LIST_ENTRY VolumeListEntry;
|
LIST_ENTRY VolumeListEntry;
|
||||||
|
|
||||||
|
/* Notifications */
|
||||||
|
LIST_ENTRY NotifyList;
|
||||||
|
PNOTIFY_SYNC NotifySync;
|
||||||
} DEVICE_EXTENSION, VCB, *PVCB;
|
} DEVICE_EXTENSION, VCB, *PVCB;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue