Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
mdadm.5365
0102-mdadm-fix-wrong-condition-for-go-to-abort....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0102-mdadm-fix-wrong-condition-for-go-to-abort.patch of Package mdadm.5365
From d7a493695a462ed938d76c181f6f76fb4140597c Mon Sep 17 00:00:00 2001 From: Guoqing Jiang <gqjiang@suse.com> Date: Mon, 6 Jul 2015 16:52:10 +0800 Subject: [PATCH 150/359] mdadm: fix wrong condition for go to abort References: bsc#1081910 When parse_cluster_confirm_arg return 0, it means the arg are parsed successfully, so change !rv to rv. Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Coly Li <colyli@suse.de> --- Manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Manage.c b/Manage.c index 0c7246d..494cca9 100644 --- a/Manage.c +++ b/Manage.c @@ -1336,7 +1336,7 @@ int Manage_subdevs(char *devname, int fd, rv = parse_cluster_confirm_arg(dv->devname, &dv->devname, &raid_slot); - if (!rv) { + if (rv) { pr_err("Could not get the devname of cluster\n"); goto abort; } -- 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