[Bugs] [Bug 1365506] gfapi: use const qualifier for glfs_*timens()

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 10 11:26:51 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1365506



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/15119 committed in master by Kaleb KEITHLEY
(kkeithle at redhat.com) 
------
commit 09b0ebf75ad2eb76002cd1801ce64f644925af45
Author: Oleksandr Natalenko <oleksandr at natalenko.name>
Date:   Tue Aug 9 14:58:08 2016 +0300

    gfapi: use const qualifier for glfs_*timens()

    glfs_*timens() functions have the last argument
    of struct timespec type that is supposed to be
    const. Now using glfs_*timens() in fops, implemented
    on top of FUSE library, leads to compiler-time warning
    about discarding const qualifier.

    Introducing const qualifier does not break ABI,
    so let's just fix it.

    Change-Id: Iea2a1018de7dce67f67a8229671a5978246de800
    BUG: 1365506
    Signed-off-by: Oleksandr Natalenko <oleksandr at natalenko.name>
    Reviewed-on: http://review.gluster.org/15119
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=WEaa2g0wQs&a=cc_unsubscribe


More information about the Bugs mailing list