Author: pschweitzer
Date: Sun Jan 27 16:16:52 2008
New Revision: 32025
URL:
http://svn.reactos.org/svn/reactos?rev=32025&view=rev
Log:
[FORMATTING] Fix indentation
Modified:
trunk/reactos/drivers/filesystems/ntfs/finfo.c
Modified: trunk/reactos/drivers/filesystems/ntfs/finfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/f…
==============================================================================
--- trunk/reactos/drivers/filesystems/ntfs/finfo.c (original)
+++ trunk/reactos/drivers/filesystems/ntfs/finfo.c Sun Jan 27 16:16:52 2008
@@ -39,9 +39,9 @@
static NTSTATUS
NtfsGetStandardInformation(PFCB Fcb,
- PDEVICE_OBJECT DeviceObject,
- PFILE_STANDARD_INFORMATION StandardInfo,
- PULONG BufferLength)
+ PDEVICE_OBJECT DeviceObject,
+ PFILE_STANDARD_INFORMATION StandardInfo,
+ PULONG BufferLength)
/*
* FUNCTION: Retrieve the standard file information
*/
@@ -56,7 +56,7 @@
ASSERT(Fcb != NULL);
RtlZeroMemory(StandardInfo,
- sizeof(FILE_STANDARD_INFORMATION));
+ sizeof(FILE_STANDARD_INFORMATION));
StandardInfo->AllocationSize = Fcb->RFCB.AllocationSize;
StandardInfo->EndOfFile = Fcb->RFCB.FileSize;
@@ -71,8 +71,8 @@
static NTSTATUS
NtfsGetPositionInformation(PFILE_OBJECT FileObject,
- PFILE_POSITION_INFORMATION PositionInfo,
- PULONG BufferLength)
+ PFILE_POSITION_INFORMATION PositionInfo,
+ PULONG BufferLength)
{
DPRINT("NtfsGetPositionInformation() called\n");
@@ -84,7 +84,7 @@
// FileObject->CurrentByteOffset.QuadPart;
DPRINT("Getting position %I64x\n",
- PositionInfo->CurrentByteOffset.QuadPart);
+ PositionInfo->CurrentByteOffset.QuadPart);
*BufferLength -= sizeof(FILE_POSITION_INFORMATION);
return(STATUS_SUCCESS);
@@ -93,10 +93,10 @@
static NTSTATUS
NtfsGetBasicInformation(PFILE_OBJECT FileObject,
- PFCB Fcb,
- PDEVICE_OBJECT DeviceObject,
- PFILE_BASIC_INFORMATION BasicInfo,
- PULONG BufferLength)
+ PFCB Fcb,
+ PDEVICE_OBJECT DeviceObject,
+ PFILE_BASIC_INFORMATION BasicInfo,
+ PULONG BufferLength)
{
DPRINT("NtfsGetBasicInformation() called\n");
@@ -125,10 +125,10 @@
static NTSTATUS
NtfsGetNameInformation(PFILE_OBJECT FileObject,
- PFCB Fcb,
- PDEVICE_OBJECT DeviceObject,
- PFILE_NAME_INFORMATION NameInfo,
- PULONG BufferLength)
+ PFCB Fcb,
+ PDEVICE_OBJECT DeviceObject,
+ PFILE_NAME_INFORMATION NameInfo,
+ PULONG BufferLength)
/*
* FUNCTION: Retrieve the file name information
*/
@@ -147,8 +147,8 @@
NameInfo->FileNameLength = NameLength;
memcpy(NameInfo->FileName,
- Fcb->PathName,
- NameLength + sizeof(WCHAR));
+ Fcb->PathName,
+ NameLength + sizeof(WCHAR));
// wcscpy(NameInfo->FileName, L"\\");
*BufferLength -=
@@ -160,8 +160,8 @@
static NTSTATUS
NtfsGetInternalInformation(PFCB Fcb,
- PFILE_INTERNAL_INFORMATION InternalInfo,
- PULONG BufferLength)
+ PFILE_INTERNAL_INFORMATION InternalInfo,
+ PULONG BufferLength)
{
DPRINT("NtfsGetInternalInformation() called\n");
@@ -182,7 +182,7 @@
NTSTATUS STDCALL
NtfsQueryInformation(PDEVICE_OBJECT DeviceObject,
- PIRP Irp)
+ PIRP Irp)
/*
* FUNCTION: Retrieve the specified file information
*/
@@ -207,51 +207,51 @@
BufferLength = Stack->Parameters.QueryFile.Length;
switch (FileInformationClass)
- {
- case FileStandardInformation:
- Status = NtfsGetStandardInformation(Fcb,
- DeviceObject,
- SystemBuffer,
- &BufferLength);
- break;
-
- case FilePositionInformation:
- Status = NtfsGetPositionInformation(FileObject,
- SystemBuffer,
- &BufferLength);
- break;
-
- case FileBasicInformation:
- Status = NtfsGetBasicInformation(FileObject,
- Fcb,
- DeviceObject,
- SystemBuffer,
- &BufferLength);
- break;
-
- case FileNameInformation:
- Status = NtfsGetNameInformation(FileObject,
- Fcb,
- DeviceObject,
- SystemBuffer,
- &BufferLength);
- break;
-
- case FileInternalInformation:
- Status = NtfsGetInternalInformation(Fcb,
- SystemBuffer,
- &BufferLength);
- break;
-
- case FileAlternateNameInformation:
- case FileAllInformation:
- Status = STATUS_NOT_IMPLEMENTED;
- break;
-
- default:
- DPRINT("Unimplemented information class %u\n", FileInformationClass);
- Status = STATUS_NOT_SUPPORTED;
- }
+ {
+ case FileStandardInformation:
+ Status = NtfsGetStandardInformation(Fcb,
+ DeviceObject,
+ SystemBuffer,
+ &BufferLength);
+ break;
+
+ case FilePositionInformation:
+ Status = NtfsGetPositionInformation(FileObject,
+ SystemBuffer,
+ &BufferLength);
+ break;
+
+ case FileBasicInformation:
+ Status = NtfsGetBasicInformation(FileObject,
+ Fcb,
+ DeviceObject,
+ SystemBuffer,
+ &BufferLength);
+ break;
+
+ case FileNameInformation:
+ Status = NtfsGetNameInformation(FileObject,
+ Fcb,
+ DeviceObject,
+ SystemBuffer,
+ &BufferLength);
+ break;
+
+ case FileInternalInformation:
+ Status = NtfsGetInternalInformation(Fcb,
+ SystemBuffer,
+ &BufferLength);
+ break;
+
+ case FileAlternateNameInformation:
+ case FileAllInformation:
+ Status = STATUS_NOT_IMPLEMENTED;
+ break;
+
+ default:
+ DPRINT("Unimplemented information class %u\n", FileInformationClass);
+ Status = STATUS_NOT_SUPPORTED;
+ }
Irp->IoStatus.Status = Status;
if (NT_SUCCESS(Status))