[NTFS] - Fix a couple of issues spotted by Thomas: Maintain alphabetical ordering of CMakeLists.txt, fix casts to BOOLEAN with BooleanFlagOn macro.

svn path=/branches/GSoC_2016/NTFS/; revision=75224
This commit is contained in:
Trevor Thompson 2017-06-28 18:22:42 +00:00 committed by Thomas Faber
parent 54f5c3b6ec
commit 2dc4938549
5 changed files with 5 additions and 5 deletions

View file

@ -1,8 +1,8 @@
list(APPEND SOURCE
attrib.c
btree.c
blockdev.c
btree.c
cleanup.c
close.c
create.c

View file

@ -419,7 +419,7 @@ NtfsCreateFile(PDEVICE_OBJECT DeviceObject,
Status = NtfsOpenFile(DeviceExt,
FileObject,
((RequestedOptions & FILE_OPEN_BY_FILE_ID) ? FullPath.Buffer : FileObject->FileName.Buffer),
(Stack->Flags & SL_CASE_SENSITIVE),
BooleanFlagOn(Stack->Flags, SL_CASE_SENSITIVE),
&Fcb);
if (RequestedOptions & FILE_OPEN_BY_FILE_ID)

View file

@ -621,7 +621,7 @@ NtfsQueryDirectory(PNTFS_IRP_CONTEXT IrpContext)
&FileRecord,
&MFTRecord,
Fcb->MFTIndex,
(Stack->Flags & SL_CASE_SENSITIVE));
BooleanFlagOn(Stack->Flags, SL_CASE_SENSITIVE));
if (NT_SUCCESS(Status))
{

View file

@ -635,7 +635,7 @@ NtfsSetInformation(PNTFS_IRP_CONTEXT IrpContext)
FileObject,
DeviceExt,
Irp->Flags,
(Stack->Flags & SL_CASE_SENSITIVE),
BooleanFlagOn(Stack->Flags, SL_CASE_SENSITIVE),
&EndOfFileInfo->EndOfFile);
break;

View file

@ -686,7 +686,7 @@ NtfsWrite(PNTFS_IRP_CONTEXT IrpContext)
Length,
ByteOffset.LowPart,
Irp->Flags,
(IrpContext->Stack->Flags & SL_CASE_SENSITIVE),
BooleanFlagOn(IrpContext->Stack->Flags, SL_CASE_SENSITIVE),
&ReturnedWriteLength);
IrpContext->Irp->IoStatus.Status = Status;