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.
REVIEW: http://review.gluster.org/15119 (gfapi: use const qualifier for glfs_*timens()) posted (#1) for review on master by Oleksandr Natalenko (oleksandr)
COMMIT: http://review.gluster.org/15119 committed in master by Kaleb KEITHLEY (kkeithle) ------ commit 09b0ebf75ad2eb76002cd1801ce64f644925af45 Author: Oleksandr Natalenko <oleksandr> 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> Reviewed-on: http://review.gluster.org/15119 Smoke: Gluster Build System <jenkins.org> Reviewed-by: Niels de Vos <ndevos> CentOS-regression: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org>