summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/src/glfs-fops.c2
-rw-r--r--api/src/glfs-handleops.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c
index 93c5101a0..f3ac335fb 100644
--- a/api/src/glfs-fops.c
+++ b/api/src/glfs-fops.c
@@ -1563,7 +1563,7 @@ retry:
goto out;
}
- ret = syncop_rmdir (subvol, &loc);
+ ret = syncop_rmdir (subvol, &loc, 0);
ESTALE_RETRY (ret, errno, reval, &loc, retry);
diff --git a/api/src/glfs-handleops.c b/api/src/glfs-handleops.c
index 9c707a619..0f996d3a2 100644
--- a/api/src/glfs-handleops.c
+++ b/api/src/glfs-handleops.c
@@ -680,7 +680,7 @@ glfs_h_unlink (struct glfs *fs, struct glfs_object *parent, const char *path)
goto out;
}
} else {
- ret = syncop_rmdir (subvol, &loc);
+ ret = syncop_rmdir (subvol, &loc, 0);
if (ret != 0) {
goto out;
}