mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 23:48:12 +00:00
[FILESYSTEMS]
- Handle IRP_MN_KERNEL_CALL for kernel-mode FS requests svn path=/trunk/; revision=52288
This commit is contained in:
parent
c20c1de151
commit
7db0732c32
4 changed files with 5 additions and 1 deletions
|
@ -566,6 +566,7 @@ CdfsFileSystemControl(PDEVICE_OBJECT DeviceObject,
|
||||||
|
|
||||||
switch (Stack->MinorFunction)
|
switch (Stack->MinorFunction)
|
||||||
{
|
{
|
||||||
|
case IRP_MN_KERNEL_CALL:
|
||||||
case IRP_MN_USER_FS_REQUEST:
|
case IRP_MN_USER_FS_REQUEST:
|
||||||
switch (Stack->Parameters.DeviceIoControl.IoControlCode)
|
switch (Stack->Parameters.DeviceIoControl.IoControlCode)
|
||||||
{
|
{
|
||||||
|
|
|
@ -841,6 +841,7 @@ NTSTATUS VfatFileSystemControl(PVFAT_IRP_CONTEXT IrpContext)
|
||||||
|
|
||||||
switch (IrpContext->MinorFunction)
|
switch (IrpContext->MinorFunction)
|
||||||
{
|
{
|
||||||
|
case IRP_MN_KERNEL_CALL:
|
||||||
case IRP_MN_USER_FS_REQUEST:
|
case IRP_MN_USER_FS_REQUEST:
|
||||||
switch(IrpContext->Stack->Parameters.DeviceIoControl.IoControlCode)
|
switch(IrpContext->Stack->Parameters.DeviceIoControl.IoControlCode)
|
||||||
{
|
{
|
||||||
|
|
|
@ -453,6 +453,7 @@ FatiFileSystemControl(PFAT_IRP_CONTEXT IrpContext, PIRP Irp)
|
||||||
/* Dispatch depending on the minor function */
|
/* Dispatch depending on the minor function */
|
||||||
switch (IrpSp->MinorFunction)
|
switch (IrpSp->MinorFunction)
|
||||||
{
|
{
|
||||||
|
case IRP_MN_KERNEL_CALL:
|
||||||
case IRP_MN_USER_FS_REQUEST:
|
case IRP_MN_USER_FS_REQUEST:
|
||||||
Status = FatUserFsCtrl(IrpContext, Irp);
|
Status = FatUserFsCtrl(IrpContext, Irp);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -483,8 +483,9 @@ NtfsFsdFileSystemControl(PDEVICE_OBJECT DeviceObject,
|
||||||
|
|
||||||
switch (Stack->MinorFunction)
|
switch (Stack->MinorFunction)
|
||||||
{
|
{
|
||||||
|
case IRP_MN_KERNEL_CALL:
|
||||||
case IRP_MN_USER_FS_REQUEST:
|
case IRP_MN_USER_FS_REQUEST:
|
||||||
DPRINT("NTFS: IRP_MN_USER_FS_REQUEST\n");
|
DPRINT("NTFS: IRP_MN_USER_FS_REQUEST/IRP_MN_KERNEL_CALL\n");
|
||||||
Status = STATUS_INVALID_DEVICE_REQUEST;
|
Status = STATUS_INVALID_DEVICE_REQUEST;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue