[BTRFS] Fix booting with runtime checks

This commit is contained in:
Mark Jansen 2018-08-21 07:05:40 +02:00 committed by Pierre Schweitzer
parent e97b95cc2e
commit 6c75215bb3
10 changed files with 89 additions and 24 deletions

View file

@ -4690,7 +4690,7 @@ exit:
_Dispatch_type_(IRP_MJ_WRITE)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS drv_write(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) {
NTSTATUS NTAPI drv_write(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) {
NTSTATUS Status;
BOOL top_level;
PIO_STACK_LOCATION IrpSp = IoGetCurrentIrpStackLocation(Irp);