mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[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:
parent
54f5c3b6ec
commit
2dc4938549
5 changed files with 5 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
|
||||
list(APPEND SOURCE
|
||||
attrib.c
|
||||
btree.c
|
||||
blockdev.c
|
||||
btree.c
|
||||
cleanup.c
|
||||
close.c
|
||||
create.c
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue