Bug 1570582

Summary: Build is failed due to access rpc->refcount in wrong way in quota.c
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Mohit Agrawal <moagrawa>
Component: quotaAssignee: Mohit Agrawal <moagrawa>
Status: CLOSED ERRATA QA Contact: Rajesh Madaka <rmadaka>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: amukherj, moagrawa, rhs-bugs, sankarshan, sheggodu, storage-qa-internal, vdas, vpapnoi
Target Milestone: ---   
Target Release: RHGS 3.4.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: glusterfs-3.12.2-9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 06:47:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1503137    

Description Mohit Agrawal 2018-04-23 09:38:49 UTC
Description of problem:
In upstream patch(https://review.gluster.org/#/c/19734/) to access 
rpc->refcount call GF_ATOMIC_GET macros but in downstream refcount is declared
as an integer in rpc_clnt, not gf_atomic_t so the downstream build is failed after merged 
the same patch from the commit https://code.engineering.redhat.com/gerrit/#/c/136229/

Version-Release number of selected component (if applicable):


How reproducible:
Compiled downstream build on centos

Steps to Reproduce:
1.
2.
3.

Actual results:
build is failed

Expected results:
The build should not fail.

Additional info:

Comment 9 Rajesh Madaka 2018-05-21 10:33:41 UTC
Based on comment 6 moving this bug to verified state

Comment 11 errata-xmlrpc 2018-09-04 06:47:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2607