[NTFS] Be verbose only on unimplemented FSCTL requests we're supposed to handle

svn path=/trunk/; revision=65831
This commit is contained in:
Hervé Poussineau 2014-12-26 11:38:35 +00:00
parent 723f55af2c
commit d8fc6d0000

View file

@ -798,6 +798,27 @@ NtfsUserFsRequest(PDEVICE_OBJECT DeviceObject,
DeviceExt = DeviceObject->DeviceExtension;
switch (Stack->Parameters.FileSystemControl.FsControlCode)
{
case FSCTL_CREATE_USN_JOURNAL:
case FSCTL_DELETE_USN_JOURNAL:
case FSCTL_ENUM_USN_DATA:
case FSCTL_EXTEND_VOLUME:
//case FSCTL_GET_RETRIEVAL_POINTER_BASE:
case FSCTL_GET_RETRIEVAL_POINTERS:
case FSCTL_LOCK_VOLUME:
//case FSCTL_LOOKUP_STREAM_FROM_CLUSTER:
case FSCTL_MARK_HANDLE:
case FSCTL_MOVE_FILE:
case FSCTL_QUERY_USN_JOURNAL:
case FSCTL_READ_FILE_USN_DATA:
case FSCTL_READ_USN_JOURNAL:
//case FSCTL_SHRINK_VOLUME:
case FSCTL_UNLOCK_VOLUME:
case FSCTL_WRITE_USN_CLOSE_RECORD:
UNIMPLEMENTED;
DPRINT1("Unimplemented user request: %x\n", Stack->Parameters.FileSystemControl.FsControlCode);
Status = STATUS_NOT_IMPLEMENTED;
break;
case FSCTL_GET_NTFS_VOLUME_DATA:
Status = GetNfsVolumeData(DeviceExt, Irp);
break;
@ -811,7 +832,7 @@ NtfsUserFsRequest(PDEVICE_OBJECT DeviceObject,
break;
default:
DPRINT1("Invalid user request: %x\n", Stack->Parameters.FileSystemControl.FsControlCode);
DPRINT("Invalid user request: %x\n", Stack->Parameters.FileSystemControl.FsControlCode);
Status = STATUS_INVALID_DEVICE_REQUEST;
break;
}