From ec59ee43b93fb720650ad7fb8df40c155d874fd1 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Mon, 16 Nov 2015 22:40:02 -0800 Subject: [PATCH] sys: WIP --- src/sys/driver.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sys/driver.c b/src/sys/driver.c index 1dbba6b6..fb17c438 100644 --- a/src/sys/driver.c +++ b/src/sys/driver.c @@ -109,7 +109,11 @@ FspUnload( PAGED_CODE(); if (0 != FspDeviceObject) + { + IoUnregisterFileSystem(FspDeviceObject); IoDeleteDevice(FspDeviceObject); + FspDeviceObject = 0; + } } PDEVICE_OBJECT FspDeviceObject;