Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
mdadm.5365
0108-Assemble-correctly-capture-error-from-writ...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0108-Assemble-correctly-capture-error-from-write_bitmap.patch of Package mdadm.5365
From d80f7aa9a1bd1582240f2ce48e6dc7c3f82fa182 Mon Sep 17 00:00:00 2001 From: NeilBrown <neilb@suse.com> Date: Wed, 5 Aug 2015 14:55:31 +1000 Subject: [PATCH 160/359] Assemble: correctly capture error from ->write_bitmap References: bsc#1081910 else 'err' might be undefined. Signed-off-by: NeilBrown <neilb@suse.com> 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 be4d8c9..d9e9001 100644 --- a/Assemble.c +++ b/Assemble.c @@ -639,7 +639,7 @@ static int load_devices(struct devs *devices, char *devmap, err = 0; else if (strcmp(c->update, "home-cluster") == 0) { tst->cluster_name = c->homecluster; - tst->ss->write_bitmap(tst, dfd, NameUpdate); + err = tst->ss->write_bitmap(tst, dfd, NameUpdate); } else if (strcmp(c->update, "nodes") == 0) { tst->nodes = c->nodes; err = tst->ss->write_bitmap(tst, dfd, NodeNumUpdate); -- 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