mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +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
|
list(APPEND SOURCE
|
||||||
attrib.c
|
attrib.c
|
||||||
btree.c
|
|
||||||
blockdev.c
|
blockdev.c
|
||||||
|
btree.c
|
||||||
cleanup.c
|
cleanup.c
|
||||||
close.c
|
close.c
|
||||||
create.c
|
create.c
|
||||||
|
|
|
@ -419,7 +419,7 @@ NtfsCreateFile(PDEVICE_OBJECT DeviceObject,
|
||||||
Status = NtfsOpenFile(DeviceExt,
|
Status = NtfsOpenFile(DeviceExt,
|
||||||
FileObject,
|
FileObject,
|
||||||
((RequestedOptions & FILE_OPEN_BY_FILE_ID) ? FullPath.Buffer : FileObject->FileName.Buffer),
|
((RequestedOptions & FILE_OPEN_BY_FILE_ID) ? FullPath.Buffer : FileObject->FileName.Buffer),
|
||||||
(Stack->Flags & SL_CASE_SENSITIVE),
|
BooleanFlagOn(Stack->Flags, SL_CASE_SENSITIVE),
|
||||||
&Fcb);
|
&Fcb);
|
||||||
|
|
||||||
if (RequestedOptions & FILE_OPEN_BY_FILE_ID)
|
if (RequestedOptions & FILE_OPEN_BY_FILE_ID)
|
||||||
|
|
|
@ -621,7 +621,7 @@ NtfsQueryDirectory(PNTFS_IRP_CONTEXT IrpContext)
|
||||||
&FileRecord,
|
&FileRecord,
|
||||||
&MFTRecord,
|
&MFTRecord,
|
||||||
Fcb->MFTIndex,
|
Fcb->MFTIndex,
|
||||||
(Stack->Flags & SL_CASE_SENSITIVE));
|
BooleanFlagOn(Stack->Flags, SL_CASE_SENSITIVE));
|
||||||
|
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
|
|
@ -635,7 +635,7 @@ NtfsSetInformation(PNTFS_IRP_CONTEXT IrpContext)
|
||||||
FileObject,
|
FileObject,
|
||||||
DeviceExt,
|
DeviceExt,
|
||||||
Irp->Flags,
|
Irp->Flags,
|
||||||
(Stack->Flags & SL_CASE_SENSITIVE),
|
BooleanFlagOn(Stack->Flags, SL_CASE_SENSITIVE),
|
||||||
&EndOfFileInfo->EndOfFile);
|
&EndOfFileInfo->EndOfFile);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -686,7 +686,7 @@ NtfsWrite(PNTFS_IRP_CONTEXT IrpContext)
|
||||||
Length,
|
Length,
|
||||||
ByteOffset.LowPart,
|
ByteOffset.LowPart,
|
||||||
Irp->Flags,
|
Irp->Flags,
|
||||||
(IrpContext->Stack->Flags & SL_CASE_SENSITIVE),
|
BooleanFlagOn(IrpContext->Stack->Flags, SL_CASE_SENSITIVE),
|
||||||
&ReturnedWriteLength);
|
&ReturnedWriteLength);
|
||||||
|
|
||||||
IrpContext->Irp->IoStatus.Status = Status;
|
IrpContext->Irp->IoStatus.Status = Status;
|
||||||
|
|
Loading…
Reference in a new issue