mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
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:
parent
df4d971ec1
commit
fc85e66d45
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user