Author: tthompson
Date: Wed Jun 28 18:22:42 2017
New Revision: 75224
URL:
http://svn.reactos.org/svn/reactos?rev=75224&view=rev
Log:
[NTFS] - Fix a couple of issues spotted by Thomas: Maintain alphabetical ordering of
CMakeLists.txt, fix casts to BOOLEAN with BooleanFlagOn macro.
Modified:
branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/CMakeLists.txt
branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/create.c
branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/dirctl.c
branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/finfo.c
branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/rw.c
Modified: branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2016/NTFS/drivers/filesyst…
==============================================================================
--- branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/CMakeLists.txt [iso-8859-1]
(original)
+++ branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/CMakeLists.txt [iso-8859-1] Wed Jun
28 18:22:42 2017
@@ -1,8 +1,8 @@
list(APPEND SOURCE
attrib.c
+ blockdev.c
btree.c
- blockdev.c
cleanup.c
close.c
create.c
Modified: branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/create.c
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2016/NTFS/drivers/filesyst…
==============================================================================
--- branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/create.c [iso-8859-1] (original)
+++ branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/create.c [iso-8859-1] Wed Jun 28
18:22:42 2017
@@ -419,7 +419,7 @@
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)
Modified: branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/dirctl.c
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2016/NTFS/drivers/filesyst…
==============================================================================
--- branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/dirctl.c [iso-8859-1] (original)
+++ branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/dirctl.c [iso-8859-1] Wed Jun 28
18:22:42 2017
@@ -621,7 +621,7 @@
&FileRecord,
&MFTRecord,
Fcb->MFTIndex,
- (Stack->Flags & SL_CASE_SENSITIVE));
+ BooleanFlagOn(Stack->Flags, SL_CASE_SENSITIVE));
if (NT_SUCCESS(Status))
{
Modified: branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/finfo.c
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2016/NTFS/drivers/filesyst…
==============================================================================
--- branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/finfo.c [iso-8859-1] (original)
+++ branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/finfo.c [iso-8859-1] Wed Jun 28
18:22:42 2017
@@ -635,7 +635,7 @@
FileObject,
DeviceExt,
Irp->Flags,
- (Stack->Flags & SL_CASE_SENSITIVE),
+ BooleanFlagOn(Stack->Flags, SL_CASE_SENSITIVE),
&EndOfFileInfo->EndOfFile);
break;
Modified: branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/rw.c
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2016/NTFS/drivers/filesyst…
==============================================================================
--- branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/rw.c [iso-8859-1] (original)
+++ branches/GSoC_2016/NTFS/drivers/filesystems/ntfs/rw.c [iso-8859-1] Wed Jun 28 18:22:42
2017
@@ -686,7 +686,7 @@
Length,
ByteOffset.LowPart,
Irp->Flags,
- (IrpContext->Stack->Flags & SL_CASE_SENSITIVE),
+ BooleanFlagOn(IrpContext->Stack->Flags,
SL_CASE_SENSITIVE),
&ReturnedWriteLength);
IrpContext->Irp->IoStatus.Status = Status;