mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 08:25:53 +00:00
[FORMATTING] Fix indentation
svn path=/trunk/; revision=31559
This commit is contained in:
parent
a3bdf2f292
commit
4caa79160b
|
@ -36,8 +36,8 @@
|
||||||
|
|
||||||
static NTSTATUS
|
static NTSTATUS
|
||||||
NtfsGetFsVolumeInformation(PDEVICE_OBJECT DeviceObject,
|
NtfsGetFsVolumeInformation(PDEVICE_OBJECT DeviceObject,
|
||||||
PFILE_FS_VOLUME_INFORMATION FsVolumeInfo,
|
PFILE_FS_VOLUME_INFORMATION FsVolumeInfo,
|
||||||
PULONG BufferLength)
|
PULONG BufferLength)
|
||||||
{
|
{
|
||||||
DPRINT("NtfsGetFsVolumeInformation() called\n");
|
DPRINT("NtfsGetFsVolumeInformation() called\n");
|
||||||
DPRINT("FsVolumeInfo = %p\n", FsVolumeInfo);
|
DPRINT("FsVolumeInfo = %p\n", FsVolumeInfo);
|
||||||
|
@ -46,12 +46,12 @@ NtfsGetFsVolumeInformation(PDEVICE_OBJECT DeviceObject,
|
||||||
DPRINT("Vpb %p\n", DeviceObject->Vpb);
|
DPRINT("Vpb %p\n", DeviceObject->Vpb);
|
||||||
|
|
||||||
DPRINT("Required length %lu\n",
|
DPRINT("Required length %lu\n",
|
||||||
sizeof(FILE_FS_VOLUME_INFORMATION) + DeviceObject->Vpb->VolumeLabelLength);
|
sizeof(FILE_FS_VOLUME_INFORMATION) + DeviceObject->Vpb->VolumeLabelLength);
|
||||||
DPRINT("LabelLength %hu\n",
|
DPRINT("LabelLength %hu\n",
|
||||||
DeviceObject->Vpb->VolumeLabelLength);
|
DeviceObject->Vpb->VolumeLabelLength);
|
||||||
DPRINT("Label %*.S\n",
|
DPRINT("Label %*.S\n",
|
||||||
DeviceObject->Vpb->VolumeLabelLength / sizeof(WCHAR),
|
DeviceObject->Vpb->VolumeLabelLength / sizeof(WCHAR),
|
||||||
DeviceObject->Vpb->VolumeLabel);
|
DeviceObject->Vpb->VolumeLabel);
|
||||||
|
|
||||||
if (*BufferLength < sizeof(FILE_FS_VOLUME_INFORMATION))
|
if (*BufferLength < sizeof(FILE_FS_VOLUME_INFORMATION))
|
||||||
return STATUS_INFO_LENGTH_MISMATCH;
|
return STATUS_INFO_LENGTH_MISMATCH;
|
||||||
|
@ -63,8 +63,8 @@ NtfsGetFsVolumeInformation(PDEVICE_OBJECT DeviceObject,
|
||||||
FsVolumeInfo->VolumeSerialNumber = DeviceObject->Vpb->SerialNumber;
|
FsVolumeInfo->VolumeSerialNumber = DeviceObject->Vpb->SerialNumber;
|
||||||
FsVolumeInfo->VolumeLabelLength = DeviceObject->Vpb->VolumeLabelLength;
|
FsVolumeInfo->VolumeLabelLength = DeviceObject->Vpb->VolumeLabelLength;
|
||||||
memcpy(FsVolumeInfo->VolumeLabel,
|
memcpy(FsVolumeInfo->VolumeLabel,
|
||||||
DeviceObject->Vpb->VolumeLabel,
|
DeviceObject->Vpb->VolumeLabel,
|
||||||
DeviceObject->Vpb->VolumeLabelLength);
|
DeviceObject->Vpb->VolumeLabelLength);
|
||||||
|
|
||||||
/* dummy entries */
|
/* dummy entries */
|
||||||
FsVolumeInfo->VolumeCreationTime.QuadPart = 0;
|
FsVolumeInfo->VolumeCreationTime.QuadPart = 0;
|
||||||
|
@ -81,8 +81,8 @@ NtfsGetFsVolumeInformation(PDEVICE_OBJECT DeviceObject,
|
||||||
|
|
||||||
static NTSTATUS
|
static NTSTATUS
|
||||||
NtfsGetFsAttributeInformation(PDEVICE_EXTENSION DeviceExt,
|
NtfsGetFsAttributeInformation(PDEVICE_EXTENSION DeviceExt,
|
||||||
PFILE_FS_ATTRIBUTE_INFORMATION FsAttributeInfo,
|
PFILE_FS_ATTRIBUTE_INFORMATION FsAttributeInfo,
|
||||||
PULONG BufferLength)
|
PULONG BufferLength)
|
||||||
{
|
{
|
||||||
DPRINT("NtfsGetFsAttributeInformation()\n");
|
DPRINT("NtfsGetFsAttributeInformation()\n");
|
||||||
DPRINT("FsAttributeInfo = %p\n", FsAttributeInfo);
|
DPRINT("FsAttributeInfo = %p\n", FsAttributeInfo);
|
||||||
|
@ -113,8 +113,8 @@ NtfsGetFsAttributeInformation(PDEVICE_EXTENSION DeviceExt,
|
||||||
|
|
||||||
static NTSTATUS
|
static NTSTATUS
|
||||||
NtfsGetFsSizeInformation(PDEVICE_OBJECT DeviceObject,
|
NtfsGetFsSizeInformation(PDEVICE_OBJECT DeviceObject,
|
||||||
PFILE_FS_SIZE_INFORMATION FsSizeInfo,
|
PFILE_FS_SIZE_INFORMATION FsSizeInfo,
|
||||||
PULONG BufferLength)
|
PULONG BufferLength)
|
||||||
{
|
{
|
||||||
PDEVICE_EXTENSION DeviceExt;
|
PDEVICE_EXTENSION DeviceExt;
|
||||||
NTSTATUS Status = STATUS_SUCCESS;
|
NTSTATUS Status = STATUS_SUCCESS;
|
||||||
|
@ -142,7 +142,7 @@ NtfsGetFsSizeInformation(PDEVICE_OBJECT DeviceObject,
|
||||||
|
|
||||||
static NTSTATUS
|
static NTSTATUS
|
||||||
NtfsGetFsDeviceInformation(PFILE_FS_DEVICE_INFORMATION FsDeviceInfo,
|
NtfsGetFsDeviceInformation(PFILE_FS_DEVICE_INFORMATION FsDeviceInfo,
|
||||||
PULONG BufferLength)
|
PULONG BufferLength)
|
||||||
{
|
{
|
||||||
DPRINT("NtfsGetFsDeviceInformation()\n");
|
DPRINT("NtfsGetFsDeviceInformation()\n");
|
||||||
DPRINT("FsDeviceInfo = %p\n", FsDeviceInfo);
|
DPRINT("FsDeviceInfo = %p\n", FsDeviceInfo);
|
||||||
|
@ -167,7 +167,7 @@ NtfsGetFsDeviceInformation(PFILE_FS_DEVICE_INFORMATION FsDeviceInfo,
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtfsQueryVolumeInformation(PDEVICE_OBJECT DeviceObject,
|
NtfsQueryVolumeInformation(PDEVICE_OBJECT DeviceObject,
|
||||||
PIRP Irp)
|
PIRP Irp)
|
||||||
{
|
{
|
||||||
FS_INFORMATION_CLASS FsInformationClass;
|
FS_INFORMATION_CLASS FsInformationClass;
|
||||||
PIO_STACK_LOCATION Stack;
|
PIO_STACK_LOCATION Stack;
|
||||||
|
@ -186,33 +186,33 @@ NtfsQueryVolumeInformation(PDEVICE_OBJECT DeviceObject,
|
||||||
DPRINT("SystemBuffer %p\n", SystemBuffer);
|
DPRINT("SystemBuffer %p\n", SystemBuffer);
|
||||||
|
|
||||||
switch (FsInformationClass)
|
switch (FsInformationClass)
|
||||||
{
|
{
|
||||||
case FileFsVolumeInformation:
|
case FileFsVolumeInformation:
|
||||||
Status = NtfsGetFsVolumeInformation(DeviceObject,
|
Status = NtfsGetFsVolumeInformation(DeviceObject,
|
||||||
SystemBuffer,
|
SystemBuffer,
|
||||||
&BufferLength);
|
&BufferLength);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FileFsAttributeInformation:
|
case FileFsAttributeInformation:
|
||||||
Status = NtfsGetFsAttributeInformation(DeviceObject->DeviceExtension,
|
Status = NtfsGetFsAttributeInformation(DeviceObject->DeviceExtension,
|
||||||
SystemBuffer,
|
SystemBuffer,
|
||||||
&BufferLength);
|
&BufferLength);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FileFsSizeInformation:
|
case FileFsSizeInformation:
|
||||||
Status = NtfsGetFsSizeInformation(DeviceObject,
|
Status = NtfsGetFsSizeInformation(DeviceObject,
|
||||||
SystemBuffer,
|
SystemBuffer,
|
||||||
&BufferLength);
|
&BufferLength);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FileFsDeviceInformation:
|
case FileFsDeviceInformation:
|
||||||
Status = NtfsGetFsDeviceInformation(SystemBuffer,
|
Status = NtfsGetFsDeviceInformation(SystemBuffer,
|
||||||
&BufferLength);
|
&BufferLength);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
Status = STATUS_NOT_SUPPORTED;
|
Status = STATUS_NOT_SUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
Irp->IoStatus.Status = Status;
|
Irp->IoStatus.Status = Status;
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
|
@ -228,7 +228,7 @@ NtfsQueryVolumeInformation(PDEVICE_OBJECT DeviceObject,
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtfsSetVolumeInformation(PDEVICE_OBJECT DeviceObject,
|
NtfsSetVolumeInformation(PDEVICE_OBJECT DeviceObject,
|
||||||
PIRP Irp)
|
PIRP Irp)
|
||||||
{
|
{
|
||||||
DPRINT("NtfsSetVolumeInformation() called\n");
|
DPRINT("NtfsSetVolumeInformation() called\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue