https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f0a1a5c7738ab86923d208f47c736fe00d477d7b

commit f0a1a5c7738ab86923d208f47c736fe00d477d7b
Author: Pierre Schweitzer <[email protected]>
AuthorDate: Sun Jan 7 15:29:33 2018 +0100

    [FASTFAT] Notify on file size change in 
FileAllocationInformation/FileEndOfFileInformation
---
 drivers/filesystems/fastfat/finfo.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/filesystems/fastfat/finfo.c 
b/drivers/filesystems/fastfat/finfo.c
index 1befeebe00..97067b929f 100644
--- a/drivers/filesystems/fastfat/finfo.c
+++ b/drivers/filesystems/fastfat/finfo.c
@@ -1408,6 +1408,8 @@ VfatSetAllocationSizeInformation(
     if (AllocSizeChanged)
     {
         VfatUpdateEntry(Fcb, vfatVolumeIsFatX(DeviceExt));
+
+        vfatReportChange(DeviceExt, Fcb, FILE_NOTIFY_CHANGE_SIZE, 
FILE_ACTION_MODIFIED);
     }
     return STATUS_SUCCESS;
 }

Reply via email to