Skip to content

Commit

Permalink
Actually call zfswrite() as well.
Browse files Browse the repository at this point in the history
Signed-off-by: Jorgen Lundman <[email protected]>
  • Loading branch information
lundman committed Aug 25, 2023
1 parent d7f9428 commit 0c3c274
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions module/os/windows/zfs/zfs_vnops_windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -4724,7 +4724,7 @@ zfs_write_wrap(PDEVICE_OBJECT DeviceObject, PIRP Irp,
}

// if (fcb->ads)
make_inline = TRUE;
make_inline = FALSE;
// else
// make_inline = newlength <= fcb->Vcb->options.max_inline;

Expand Down Expand Up @@ -4862,7 +4862,7 @@ zfs_write_wrap(PDEVICE_OBJECT DeviceObject, PIRP Irp,
}
}

if (pagefile) {
if (paging_io) {
uio.uio_extflg |= SKIP_CHANGE_TIME;
uio.uio_extflg |= SKIP_WRITE_TIME;
} else {
Expand Down Expand Up @@ -5122,7 +5122,7 @@ fs_write(PDEVICE_OBJECT DeviceObject, PIRP Irp, PIO_STACK_LOCATION IrpSp)

} else {

if (!FlagOn(Irp->Flags, IRP_PAGING_IO)) {
if (!FlagOn(Irp->Flags, IRP_PAGING_IO))
FsRtlCheckOplock(vp_oplock(vp), Irp, NULL,
NULL, NULL);

Expand All @@ -5131,10 +5131,8 @@ fs_write(PDEVICE_OBJECT DeviceObject, PIRP Irp, PIO_STACK_LOCATION IrpSp)

Status = fs_write_impl(DeviceObject, Irp, IrpSp,
wait, FALSE);

}

}

} except(EXCEPTION_EXECUTE_HANDLER) {
Status = GetExceptionCode();
}
Expand Down

0 comments on commit 0c3c274

Please sign in to comment.