[cifs-protocol] SET_REPARSE_POINT vs QUERY_DIRECTORY? - TrackingID#2301020040002842

Volker Lendecke Volker.Lendecke at sernet.de
Mon Jan 9 20:11:07 UTC 2023


Am Mon, Jan 09, 2023 at 06:54:50PM +0000 schrieb Jeff McCashland (He/him):
> QUERY_DIRECTORY results are read from the directory's duplicated
> information. [MS-FSA] documents that duplicated information is
> updated when the file handle is closed:
> 
> 2.1.5.5     Server Requests Closing an Open
> §     Phase 3 - File Deletion:
> §     If LinkDeleted is FALSE:
> §     The object store MUST update the duplicated information as specified in section 2.1.4.18 with Link equal to Link.
> §     EndIf
> 
> However, duplicated information is not updated when SET_REPARSE_POINT is handled (section 2.1.5.10.37).
> 
> Were you to immediately query the file state after setting the
> reparse point, you would see the change. However, the change isn't
> shown in directory queries until the duplicated information is
> updated.

... subtle stuff you find when really reading FSA. Thanks, I was not aware of this!

Volker



More information about the cifs-protocol mailing list