From e6cb66be802b7e3099a000418a0b3a292bcf00a4 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Thu, 18 Jun 2009 05:33:13 +0000 Subject: libglusterfs: Change GF_FDENTRY_ALLOCATED constant This change is being brought in so that we can differentiate between fdentry_ts when debugging using gdb. Signed-off-by: Anand V. Avati --- libglusterfs/src/fd.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libglusterfs/src') diff --git a/libglusterfs/src/fd.h b/libglusterfs/src/fd.h index b4bb12118..efe02e887 100644 --- a/libglusterfs/src/fd.h +++ b/libglusterfs/src/fd.h @@ -69,11 +69,10 @@ typedef struct _fdtable fdtable_t; /* Signifies no more entries in the fd table. */ #define GF_FDTABLE_END -1 -/* The value us the same as GF_FDTABLE_END but the - * purpose is different here. This is used to invalidated +/* This is used to invalidated * the next_free value in an fdentry that has been allocated */ -#define GF_FDENTRY_ALLOCATED -1 +#define GF_FDENTRY_ALLOCATED -2 #include "logging.h" #include "xlator.h" -- cgit