summaryrefslogtreecommitdiffstats
path: root/booster/src
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-15 23:12:00 -0700
commite298a2183a8a294abda9c656879dc30f6c17f027 (patch)
tree938e592e51ad9ed94f7221a357c952a3aee96a7b /booster/src
parentc3cf6a57c0b241fa768a57ee2fb294196d03f4a0 (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/src')
-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 4961cc2a7..8dcfdc7e9 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: