cryptodisk: Unregister cryptomount command when removing module

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Patrick Steinhardt <ps@pks.im>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Glenn Washburn 2020-09-07 17:27:55 +02:00 committed by Daniel Kiper
parent eb77486141
commit 3b3ac0c982

View file

@ -1311,5 +1311,6 @@ GRUB_MOD_FINI (cryptodisk)
{ {
grub_disk_dev_unregister (&grub_cryptodisk_dev); grub_disk_dev_unregister (&grub_cryptodisk_dev);
cryptodisk_cleanup (); cryptodisk_cleanup ();
grub_unregister_extcmd (cmd);
grub_procfs_unregister (&luks_script); grub_procfs_unregister (&luks_script);
} }