summaryrefslogtreecommitdiffstats
path: root/booster/src
diff options
context:
space:
mode:
Diffstat (limited to 'booster/src')
-rw-r--r--booster/src/booster.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/booster/src/booster.c b/booster/src/booster.c
index ff4da3a1b64..14900656843 100644
--- a/booster/src/booster.c
+++ b/booster/src/booster.c
@@ -2559,6 +2559,8 @@ fcntl (int fd, int cmd, ...)
gf_log ("booster", GF_LOG_DEBUG, "fcntl: fd %d, cmd %d", fd, cmd);
switch (cmd) {
case F_DUPFD:
+ ret = dup (fd);
+ break;
/*
* FIXME: Consider this case when implementing F_DUPFD, F_GETFD
* etc flags in libglusterfsclient. Commenting it out for