[FASTFAT] Notify on file size change in FileAllocationInformation/FileEndOfFileInformation

This commit is contained in:
Pierre Schweitzer 2018-01-07 15:29:33 +01:00
parent 8294118174
commit f0a1a5c773
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -1408,6 +1408,8 @@ VfatSetAllocationSizeInformation(
if (AllocSizeChanged)
{
VfatUpdateEntry(Fcb, vfatVolumeIsFatX(DeviceExt));
vfatReportChange(DeviceExt, Fcb, FILE_NOTIFY_CHANGE_SIZE, FILE_ACTION_MODIFIED);
}
return STATUS_SUCCESS;
}