From f39cae5acc461186336db8e04a0ef1c3803974f3 Mon Sep 17 00:00:00 2001 From: Hyeyeon Chung Date: Wed, 29 Aug 2018 17:33:36 +0900 Subject: [PATCH] Revert "[HACK] Make kernel panic when verity error is detected for debugging" This reverts commit c674aa0e66e07baf5d3e73ee10a9114c05e30bc6. Change-Id: I5559860846bfb8508ec8957d9edcf0d423b5484a --- drivers/md/dm-verity-target.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/md/dm-verity-target.c b/drivers/md/dm-verity-target.c index 64d556a83e25..383249c1a5ed 100644 --- a/drivers/md/dm-verity-target.c +++ b/drivers/md/dm-verity-target.c @@ -279,7 +279,6 @@ static int verity_handle_err(struct dm_verity *v, enum verity_block_type type, DMERR_LIMIT("%s: %s block %llu is corrupted", v->data_dev->name, type_str, block); - panic("DM_VERITY_CORRUPTED"); if (v->corrupted_errs == DM_VERITY_MAX_CORRUPTED_ERRS) DMERR("%s: reached maximum errors", v->data_dev->name); -- 2.20.1