Bug 1346551

Summary: wrong understanding of function's parameter
Product: [Community] GlusterFS Reporter: Zhou Zhengping <johnzzpcrystal>
Component: distributeAssignee: Zhou Zhengping <johnzzpcrystal>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, bugs, johnzzpcrystal, nbalacha
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 3.9.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-03 11:24:22 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:

Description Zhou Zhengping 2016-06-15 01:59:04 UTC
Wrong usage of function dht_selfheal_dir_xattr_cbk in function dht_selfheal_dir_xattr_persubvol

Comment 1 Nithya Balachandran 2016-06-15 04:16:34 UTC
Can you please elaborate on what is wrong?

Thanks,
Nithya

Comment 2 Vijay Bellur 2016-06-16 03:00:47 UTC
REVIEW: http://review.gluster.org/14737 (Wrong type of function's parameter when calling dht_selfheal_dir_xattr_cbk, the second parameter's type should be call_frame_t * .) posted (#1) for review on master by Zhou Zhengping (johnzzpcrystal)

Comment 3 Vijay Bellur 2016-06-21 17:29:29 UTC
REVIEW: http://review.gluster.org/14737 (cluster/dht: Wrong type of function's parameter when calling dht_selfheal_dir_xattr_cbk) posted (#2) for review on master by Zhou Zhengping (johnzzpcrystal)

Comment 4 Vijay Bellur 2016-06-21 19:46:05 UTC
REVIEW: http://review.gluster.org/14737 (cluster/dht: Wrong type of function's parameter when calling dht_selfheal_dir_xattr_cbk) posted (#3) for review on master by Zhou Zhengping (johnzzpcrystal)

Comment 5 Vijay Bellur 2016-06-23 14:33:22 UTC
COMMIT: http://review.gluster.org/14737 committed in master by Vijay Bellur (vbellur) 
------
commit 1fdc0db572ce80d6f3a9e71d40ef272c2eb3e7e7
Author: Zhou Zhengping <johnzzpcrystal>
Date:   Wed Jun 22 01:27:25 2016 +0800

    cluster/dht: Wrong type of function's parameter when calling dht_selfheal_dir_xattr_cbk
    
    The second parameter's type is call_frame_t *, and we change
    it to be type xlator_t *, it is exactly what we need in this function.
    
    Change-Id: I6a154edcaa5a11084d837ca925efbfac853d0786
    BUG: 1346551
    Signed-off-by: Zhou Zhengping <johnzzpcrystal>
    Reviewed-on: http://review.gluster.org/14737
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Raghavendra G <rgowdapp>
    CentOS-regression: Gluster Build System <jenkins.org>