Bug 1428073 - nfs: Fix compiler warning when calling svc_getcaller
Summary: nfs: Fix compiler warning when calling svc_getcaller
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: nfs
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vijay Bellur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-01 19:05 UTC by Vijay Bellur
Modified: 2017-05-30 18:46 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.11.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-30 18:46:32 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Vijay Bellur 2017-03-01 19:05:58 UTC
nfs: Fix compiler warning when calling svc_getcaller

Summary:
- The result needs to be cast to (struct sockaddr_in *)
- This diff is a cherry-pick of D3111554 to 3.8

Signed-off-by: Shreyas Siravara <sshreyas>

Change-Id: If4c27dbe6c032f9e278ea08cd3c96a4d07bcc5f9
Reviewed-on: http://review.gluster.org/16179
Tested-by: Shreyas Siravara <sshreyas>
NetBSD-regression: NetBSD Build System <jenkins.org>
Smoke: Gluster Build System <jenkins.org>
Reviewed-by: Kevin Vigor <kvigor>
CentOS-regression: Gluster Build System <jenkins.org>

Comment 1 Worker Ant 2017-03-01 20:13:49 UTC
REVIEW: https://review.gluster.org/16804 (nfs: Fix compiler warning when calling svc_getcaller) posted (#1) for review on master by Vijay Bellur (vbellur)

Comment 2 Worker Ant 2017-04-10 17:24:38 UTC
REVIEW: https://review.gluster.org/16804 (nfs: Fix compiler warning when calling svc_getcaller) posted (#2) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 3 Worker Ant 2017-04-11 15:25:40 UTC
COMMIT: https://review.gluster.org/16804 committed in master by Niels de Vos (ndevos) 
------
commit 10a797c26f0e9db33b2b5b89263f6cca3709c002
Author: Kevin Vigor <kvigor>
Date:   Tue Mar 29 14:08:38 2016 -0700

    nfs: Fix compiler warning when calling svc_getcaller
    
    Summary:
    When using libtirpc instead of glibc rpc the result needs to be
    cast to (struct sockaddr_in *)
    
    This diff was originally a cherry-pick of D3111554 to 3.8
    
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle>
    Signed-off-by: Shreyas Siravara <sshreyas>
    Change-Id: If4c27dbe6c032f9e278ea08cd3c96a4d07bcc5f9
    BUG: 1428073
    Reviewed-on: http://review.gluster.org/16179
    Tested-by: Shreyas Siravara <sshreyas>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Smoke: Gluster Build System <jenkins.org>
    Reviewed-by: Kevin Vigor <kvigor>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-on: https://review.gluster.org/16804
    Reviewed-by: Amar Tumballi <amarts>
    Reviewed-by: Niels de Vos <ndevos>

Comment 4 Shyamsundar 2017-05-30 18:46:32 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.11.0, please open a new bug report.

glusterfs-3.11.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2017-May/000073.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.