summaryrefslogtreecommitdiffstats
path: root/booster
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@zresearch.com>2009-06-15 00:02:57 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-06-30 14:36:26 -0700
commit5b857d1bab2cc4b2874894a86684e1d50b257423 (patch)
tree4e5adac2eeecd65a272061a8759d46cde55839ed /booster
parent745138508b9688b573e8f13eb9c15cb3301948df (diff)
booster: fix build error in fcntl implementation.
- F_DUPFD_CLOEXEC is defined only in linux kernel versions >= 2.6.24 Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'booster')
-rw-r--r--booster/src/booster.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/booster/src/booster.c b/booster/src/booster.c
index 4961cc2..8dcfdc7 100644
--- a/booster/src/booster.c
+++ b/booster/src/booster.c
@@ -2155,7 +2155,13 @@ fcntl (int fd, int cmd, ...)
switch (cmd) {
case F_DUPFD:
- case F_DUPFD_CLOEXEC:
+ /*
+ * FIXME: Consider this case when implementing F_DUPFD, F_GETFD
+ * etc flags in libglusterfsclient. Commenting it out for
+ * timebeing since it is defined only in linux kernel
+ * versions >= 2.6.24.
+ */
+ /* case F_DUPFD_CLOEXEC: */
case F_GETFD:
case F_GETFL:
case F_GETOWN: