From b238c04923e16692cbb932159776af12d4a32ac8 Mon Sep 17 00:00:00 2001 From: Jeff Bromberger Date: Mon, 6 Feb 2023 13:26:41 -0600 Subject: [PATCH] IoStatus.Information should not be set on cleanup/close. Appears to be copy-and-paste from Create code. --- filesys/fastfat/cleanup.c | 1 - filesys/fastfat/close.c | 1 - 2 files changed, 2 deletions(-) diff --git a/filesys/fastfat/cleanup.c b/filesys/fastfat/cleanup.c index b6169b9c0..10ff77032 100644 --- a/filesys/fastfat/cleanup.c +++ b/filesys/fastfat/cleanup.c @@ -88,7 +88,6 @@ Return Value: if ( FatDeviceIsFatFsdo( VolumeDeviceObject)) { Irp->IoStatus.Status = STATUS_SUCCESS; - Irp->IoStatus.Information = FILE_OPENED; IoCompleteRequest( Irp, IO_DISK_INCREMENT ); diff --git a/filesys/fastfat/close.c b/filesys/fastfat/close.c index ca6f4918d..5abfdec86 100644 --- a/filesys/fastfat/close.c +++ b/filesys/fastfat/close.c @@ -126,7 +126,6 @@ Return Value: if (FatDeviceIsFatFsdo( VolumeDeviceObject)) { Irp->IoStatus.Status = STATUS_SUCCESS; - Irp->IoStatus.Information = FILE_OPENED; IoCompleteRequest( Irp, IO_DISK_INCREMENT );