summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/fd.h
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-18 13:08:03 -0700
commit804e34cc4955cf5f176e70381da08cc617b6f79b (patch)
tree1eb40a7fda81b06144d950258cffe1c317583b35 /libglusterfs/src/fd.h
parent80485e438268251f734936139d8239c59f70de54 (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>
Diffstat (limited to 'libglusterfs/src/fd.h')
-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"