summaryrefslogtreecommitdiffstats
path: root/booster
diff options
context:
space:
mode:
Diffstat (limited to 'booster')
-rw-r--r--booster/src/booster.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/booster/src/booster.c b/booster/src/booster.c
index 540fd3c2404..c8414eca9cb 100644
--- a/booster/src/booster.c
+++ b/booster/src/booster.c
@@ -2781,6 +2781,20 @@ fchdir (int fd)
}
+char *
+getcwd (char *buf, size_t size)
+{
+ char *res = NULL;
+
+ res = glusterfs_getcwd (buf, size);
+ if ((res == NULL) && (errno == ENODEV)) {
+ res = real_getcwd (buf, size);
+ }
+
+ return res;
+}
+
+
void
booster_lib_init (void)
{