Join GitHub today
Do not forcefully free all VCBs upon IRP_MJ_SHUTDOWN request #103
I'm not sure if I've done this the right way, so it is probably more like an issue than a PR.
If I'm right, Microsoft's fastfat driver dismounts the volume only if it can do it: https://github.com/Microsoft/Windows-driver-samples/blob/a49f6121e1976979af7d6d8fc1f9af7acec9bcb2/filesys/fastfat/shutdown.c#L278
I tried to do the same in drv_shutdown