Windows: SetRenameInfo do not reference deleted name

After the Target Dirctory CB has been deleted, it is not
safe to reference the FileName component.  Use the uniTargetName
in the error log message.

Change-Id: I83e6db62ffa0cf59d666066cae8f32e93d63d815
Reviewed-on: http://gerrit.openafs.org/8825
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
Jeffrey Altman 2012-12-23 23:15:59 -05:00
parent df4d971ec1
commit fc85e66d45

View File

@ -3253,7 +3253,7 @@ AFSSetRenameInfo( IN PIRP Irp)
AFSDbgLogMsg( AFS_SUBSYSTEM_FILE_PROCESSING,
AFS_TRACE_LEVEL_ERROR,
"AFSSetRenameInfo Failed to delete section for target file %wZ\n",
&pTargetDirEntry->NameInformation.FileName);
&uniTargetName);
}
AFSDbgLogMsg( AFS_SUBSYSTEM_LOCK_PROCESSING,