summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-06-18 05:33:13 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-06-30 14:36:27 -0700
commite6cb66be802b7e3099a000418a0b3a292bcf00a4 (patch)
treea01ce3662336d5fef916af5fd79b023201c6b379
parentc1f2287c58e7101104756ac0ab416d989cc6b754 (diff)
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 <avati@dev.gluster.com>
-rw-r--r--libglusterfs/src/fd.h5
1 files changed, 2 insertions, 3 deletions
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"