Skip to content

Commit

Permalink
IoStatus.Information should not be set on cleanup/close. Appears to b…
Browse files Browse the repository at this point in the history
…e copy-and-paste from Create code.
  • Loading branch information
jeffbromberger committed Feb 6, 2023
1 parent 1771921 commit b238c04
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion filesys/fastfat/cleanup.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ Return Value:
if ( FatDeviceIsFatFsdo( VolumeDeviceObject)) {

Irp->IoStatus.Status = STATUS_SUCCESS;
Irp->IoStatus.Information = FILE_OPENED;

IoCompleteRequest( Irp, IO_DISK_INCREMENT );

Expand Down
1 change: 0 additions & 1 deletion filesys/fastfat/close.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ Return Value:
if (FatDeviceIsFatFsdo( VolumeDeviceObject)) {

Irp->IoStatus.Status = STATUS_SUCCESS;
Irp->IoStatus.Information = FILE_OPENED;

IoCompleteRequest( Irp, IO_DISK_INCREMENT );

Expand Down

0 comments on commit b238c04

Please sign in to comment.