From 804e34cc4955cf5f176e70381da08cc617b6f79b 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') diff --git a/libglusterfs/src/fd.h b/libglusterfs/src/fd.h index b4bb1211847..efe02e8876b 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