summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
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 *