summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorJeff Darcy <jdarcy@redhat.com>2017-03-01 14:35:26 -0800
committerJeff Darcy <jdarcy@redhat.com>2017-03-02 12:04:24 -0500
commit9ed98f23564387c5b436a0c6ec6d4393f970dcb9 (patch)
treedaa2ca1e99a0f292406275822e0dc666b3850cb5 /xlators/mgmt
parent3c8b3a322d1ecbf99e4718abede32d739bda491c (diff)
glusterd: use sys_lstat instead of lstat
Showed up in 0symbol-check.t while testing something else. Might as well fix it now. Change-Id: Ic6b8214de6f486187afc4987c5ffbbca02c8997f Signed-off-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-on: https://review.gluster.org/16820 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Prashanth Pai <ppai@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-snapshot.c b/xlators/mgmt/glusterd/src/glusterd-snapshot.c
index 5dcadcba084..a130a78aace 100644
--- a/xlators/mgmt/glusterd/src/glusterd-snapshot.c
+++ b/xlators/mgmt/glusterd/src/glusterd-snapshot.c
@@ -8838,7 +8838,7 @@ glusterd_remove_trashpath (char *volname)
"%s/"GLUSTERD_TRASH"/vols-%s.deleted", priv->workdir,
volname);
- ret = lstat (delete_path, &stbuf);
+ ret = sys_lstat (delete_path, &stbuf);
if (ret) {
/* If the trash dir does not exist, return *
* without failure *