FltGetFileNameInformation, rename, network


I am trying to understand some behavior that I am seeing:

  1. Open a network file and query the name. Get “file1”
  2. Call MoveFile() to rename the file from “file1” to “file2”
  3. See the file change names on the CIFS server
  4. In pre-cleanup for the handle that was used for the move operation query the file name and I still get “file1”

I tried to specify no cache lookup and to query the FSD but I still get “file1”

I assume this has to do with how a redirector handles file names during rename operations.

Is the behavior I should expect to see for all redirectors?