Commit 4ecc5081 authored by zhengbin's avatar zhengbin Committed by Mike Snitzer

dm mpath: use true/false for bool variable

Fixes coccicheck warning:

drivers/md/dm-mpath.c:1447:2-13: WARNING: Assignment of 0/1 to bool variable
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarzhengbin <zhengbin13@huawei.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent b3996295
...@@ -1444,7 +1444,7 @@ static void pg_init_done(void *data, int errors) ...@@ -1444,7 +1444,7 @@ static void pg_init_done(void *data, int errors)
break; break;
case SCSI_DH_RETRY: case SCSI_DH_RETRY:
/* Wait before retrying. */ /* Wait before retrying. */
delay_retry = 1; delay_retry = true;
/* fall through */ /* fall through */
case SCSI_DH_IMM_RETRY: case SCSI_DH_IMM_RETRY:
case SCSI_DH_RES_TEMP_UNAVAIL: case SCSI_DH_RES_TEMP_UNAVAIL:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment