Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:openSUSE:Factory:rpmlint:tests
libdlm
0012-dlm_controld-use-write_result.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0012-dlm_controld-use-write_result.patch of Package libdlm
From 8db5382fc8391ba74eb2b6d6efca2f26e7884b55 Mon Sep 17 00:00:00 2001 From: Alexander Aring <aahringo@redhat.com> Date: Sun, 12 Feb 2023 18:39:01 -0500 Subject: [PATCH 12/24] dlm_controld: use write_result() This patch will use write_result() instead of code the same code again what write_result() is doing. Reported-by: Andreas Gruenbacher <agruenba@redhat.com> --- dlm_controld/plock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlm_controld/plock.c b/dlm_controld/plock.c index 2f0392c3368c..24ad777a69b6 100644 --- a/dlm_controld/plock.c +++ b/dlm_controld/plock.c @@ -1600,8 +1600,7 @@ void process_plocks(int ci) #else if (!(info.flags & DLM_PLOCK_FL_CLOSE)) { #endif - info.rv = rv; - rv = write(plock_device_fd, &info, sizeof(info)); + write_result(&info, rv); } } -- 2.35.3
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