[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

@ -236,7 +236,7 @@ static NTSTATUS control_ioctl(PIRP Irp) {
_Dispatch_type_(IRP_MJ_DEVICE_CONTROL)
_Function_class_(DRIVER_DISPATCH)
NTSTATUS drv_device_control(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) {
NTSTATUS NTAPI drv_device_control(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) {
NTSTATUS Status;
PIO_STACK_LOCATION IrpSp = IoGetCurrentIrpStackLocation(Irp);
device_extension* Vcb = DeviceObject->DeviceExtension;