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

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 9 12:04:54 UTC 2016


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

            Bug ID: 1365506
           Summary: gfapi: use const qualifier for glfs_*timens()
           Product: GlusterFS
           Version: mainline
         Component: libgfapi
          Severity: low
          Assignee: bugs at gluster.org
          Reporter: oleksandr at natalenko.name
        QA Contact: sdharane at redhat.com
                CC: bugs at gluster.org



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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list