From e298a2183a8a294abda9c656879dc30f6c17f027 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Mon, 15 Jun 2009 00:02:57 +0000 Subject: 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 --- booster/src/booster.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'booster') diff --git a/booster/src/booster.c b/booster/src/booster.c index 4961cc2a706..8dcfdc7e979 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: -- cgit