Re: [PATCH v5 2/9] cryptodisk: Refactor to discard have_it global

2021-12-16 Thread Daniel Kiper
On Thu, Dec 09, 2021 at 11:14:51AM -0600, Glenn Washburn wrote: > The global "have_it" was never used by the crypto-backends, but was used to > determine if a crypto-backend successfully mounted a cryptodisk with a given > uuid. This is not needed however, because grub_device_iterate() will return

[PATCH v5 2/9] cryptodisk: Refactor to discard have_it global

2021-12-09 Thread Glenn Washburn
The global "have_it" was never used by the crypto-backends, but was used to determine if a crypto-backend successfully mounted a cryptodisk with a given uuid. This is not needed however, because grub_device_iterate() will return 1 if and only if grub_cryptodisk_scan_device() returns 1. And grub_cry