Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
mdadm.5365
0147-Detail-fix-wrong-condition-in-recent-chang...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0147-Detail-fix-wrong-condition-in-recent-change.patch of Package mdadm.5365
From e652d1aa294af2c216660f6be3447bbf550d179e Mon Sep 17 00:00:00 2001 From: NeilBrown <neilb@suse.com> Date: Wed, 23 Dec 2015 12:15:32 +1100 Subject: [PATCH 202/359] Detail: fix wrong condition in recent change. References: bsc#1081910 Now that we can print device details with a specific raid_disk but not disk.number, the condition for "print either disk.number or disk.raid_disk" must be make more specific. Reported-by: Coly Li <colyli@suse.com> Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Coly Li <colyli@suse.de> --- Detail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detail.c b/Detail.c index 37403d6..d029219 100644 --- a/Detail.c +++ b/Detail.c @@ -619,7 +619,7 @@ This is pretty boring continue; if (!c->brief) { if (d == array.raid_disks*2) printf("\n"); - if (disk.number < 0) + if (disk.number < 0 && disk.raid_disk < 0) printf(" - %5d %5d - ", disk.major, disk.minor); else if (disk.raid_disk < 0 || disk.state & (1<<MD_DISK_JOURNAL)) -- 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