diff options
author | Oleksandr Natalenko <oleksandr@natalenko.name> | 2016-08-09 14:58:08 +0300 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2016-08-10 04:26:47 -0700 |
commit | 09b0ebf75ad2eb76002cd1801ce64f644925af45 (patch) | |
tree | 979568f83848d78514d4b10117cdb8d882cc446c /xlators/mgmt | |
parent | 30019e51ddefc266c939a61d26d324b7ebf3ad95 (diff) |
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@natalenko.name>
Reviewed-on: http://review.gluster.org/15119
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/mgmt')
0 files changed, 0 insertions, 0 deletions