mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[NTFS] Be verbose only on unimplemented FSCTL requests we're supposed to handle
svn path=/trunk/; revision=65831
This commit is contained in:
parent
723f55af2c
commit
d8fc6d0000
1 changed files with 22 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue