Question regarding to CcSetFileSizes

Hi,

I have a layer filter driver, which will create the shadow file object in create IRP, In the cache write IRP, if the PrivateCacheMap in file object didn’t ininitialize, I will call CcInitializeCacheMap, if it is not first write and the write go over the current file size, then I will call CcSetFileSizes with the new file size.

Also I will call CcCopyWrite for the cache write.

after the CcSetFileSizes, I will get the SetInformation IRP with infoclass FileEndOfFileInformation, and AdvanceOnly is false, and the size is 0.

so why I will get the SetInformation with size 0?

Thanks
Mike