Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
mdadm
0052-Assemble-fix-no-uptodate-device-message.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0052-Assemble-fix-no-uptodate-device-message.patch of Package mdadm
From ee466574f204005ea311d3c66cc4de142e2a19d5 Mon Sep 17 00:00:00 2001 From: NeilBrown <neilb@suse.de> Date: Wed, 8 Apr 2015 09:20:26 +1000 Subject: [PATCH 068/359] Assemble: fix "no uptodate device" message. References: bsc#1081910 Since we introduced replacement devices, the 'i' used in start_array() is twice the slot number. So we need to adjust when printing. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Coly Li <colyli@suse.de> --- Assemble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assemble.c b/Assemble.c index 1e529c1..08d9d1b 100644 --- a/Assemble.c +++ b/Assemble.c @@ -984,7 +984,7 @@ static int start_array(int mdfd, } else if (c->verbose > 0 && i < content->array.raid_disks*2 && (i&1) == 0) pr_err("no uptodate device for slot %d of %s\n", - i, mddev); + i/2, mddev); } if (content->array.level == LEVEL_CONTAINER) { -- 2.16.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor