summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBasavanagowda Kanur <gowda@gluster.com>2009-07-06 05:47:25 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-06 12:37:08 -0700
commitfd70ec76469204ffa7c8145c978f2fba6dca9a7a (patch)
tree83a42b47943665318dd9ca47de873f08cc03d6c3
parentfe3d249f1aec607aed5895d66a869620ba30f9cf (diff)
libglusterfs - remove definition of ZR_FILENAME_MAX
to maintain uniformity of maximum length of file name, through out glusterfs, use NAME_MAX. Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
-rw-r--r--libglusterfs/src/glusterfs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index bb93f5faa7e..e522c3176e0 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -74,11 +74,6 @@
/* TODO: Should we use PATH-MAX? On some systems it may save space */
#define ZR_PATH_MAX 4096
-/* This is used as the maximum permitted filename length over FS.
- * If the backend FS supports higher than this, it should be changed.
- */
-#define ZR_FILENAME_MAX 256
-
/* NOTE: add members ONLY at the end (just before _MAXVALUE) */
typedef enum {