diff options
author | Jeff Darcy <jdarcy@redhat.com> | 2017-03-01 14:35:26 -0800 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-11-01 10:44:57 +0000 |
commit | 58189890dd810d8fae5953ca84948227a073e172 (patch) | |
tree | a928817477cfcc9a44af787ab808b7a40246c528 /xlators | |
parent | 04600933bded792b4e817b8612f0b3338cb20bcc (diff) |
glusterd: use sys_lstat instead of lstat
Showed up in 0symbol-check.t while testing something else. Might as
well fix it now.
> Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
> Reviewed-on: https://review.gluster.org/16820
> Reviewed-by: Prashanth Pai <ppai@redhat.com>
(cherry picked from commit 9ed98f23564387c5b436a0c6ec6d4393f970dcb9)
BUG: 1508036
Change-Id: Ic6b8214de6f486187afc4987c5ffbbca02c8997f
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-snapshot.c | 2 |
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 da015236686..e1eab796054 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 * |