[RFC 22/22] (TEST) let dm-tree unchanged after block_io testing is done

AKASHI Takahiro
2021-10-01T05:10:49Z

---
lib/efi_selftest/efi_selftest_block_device.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/lib/efi_selftest/efi_selftest_block_device.c b/lib/efi_selftest/efi_selftest_block_device.c
index cac76249e6b4..358797d224dc 100644
--- a/lib/efi_selftest/efi_selftest_block_device.c
+++ b/lib/efi_selftest/efi_selftest_block_device.c
@@ -268,6 +268,7 @@ static int teardown(void)
{
efi_status_t r = EFI_ST_SUCCESS;

+#if 0 /* TEMP */
if (disk_handle) {
r = boottime->uninstall_protocol_interface(disk_handle,
&guid_device_path,
@@ -285,6 +286,7 @@ static int teardown(void)
return EFI_ST_FAILURE;
}
}
+#endif

if (image) {
r = boottime->free_pool(image);
--
2.33.0