mirror of
https://github.com/reactos/reactos.git
synced 2024-07-12 07:35:10 +00:00
[fastfat_new]
- When creating a DCB with a known file handle, always build a full file name, because FullFAT opening code always needs a full name. - Fix debug prints (%Z -> %wZ). svn path=/trunk/; revision=43643
This commit is contained in:
parent
dc040195a0
commit
108af8baae
|
@ -168,8 +168,13 @@ FatCreateDcb(IN PFAT_IRP_CONTEXT IrpContext,
|
|||
|
||||
/* Set names */
|
||||
if (FileHandle)
|
||||
{
|
||||
FatSetFcbNames(IrpContext, Fcb);
|
||||
|
||||
/* Ensure the full name is set */
|
||||
FatSetFullFileNameInFcb(IrpContext, Fcb);
|
||||
}
|
||||
|
||||
return Fcb;
|
||||
}
|
||||
|
||||
|
|
|
@ -317,7 +317,7 @@ FatDecodeFileObject(IN PFILE_OBJECT FileObject,
|
|||
|
||||
TypeOfOpen = (*Ccb == NULL ? DirectoryFile : UserDirectoryOpen);
|
||||
|
||||
DPRINT1("Referencing a directory: %Z\n", &(*FcbOrDcb)->FullFileName);
|
||||
DPRINT1("Referencing a directory: %wZ\n", &(*FcbOrDcb)->FullFileName);
|
||||
break;
|
||||
|
||||
/* File */
|
||||
|
@ -327,7 +327,7 @@ FatDecodeFileObject(IN PFILE_OBJECT FileObject,
|
|||
|
||||
TypeOfOpen = (*Ccb == NULL ? EaFile : UserFileOpen);
|
||||
|
||||
DPRINT("Referencing a file: %Z\n", &(*FcbOrDcb)->FullFileName);
|
||||
DPRINT("Referencing a file: %wZ\n", &(*FcbOrDcb)->FullFileName);
|
||||
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue