summaryrefslogtreecommitdiffstats
path: root/xlators/storage
diff options
context:
space:
mode:
authorBasavanagowda Kanur <gowda@gluster.com>2009-07-06 05:47:27 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-06 12:37:06 -0700
commit28760cc3d37318e7e90ec65bf2ce6376916e8a3e (patch)
tree2565c3a2f5f0c3db941644c813e501b3d3c93b5b /xlators/storage
parent6abd0c49267973f57b8cf98f25e61ec587b2533a (diff)
storage/posix - replace ZR_FILENAME_MAX by NAME_MAX
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'xlators/storage')
-rw-r--r--xlators/storage/posix/src/posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index a2e4ad76169..0205c52758d 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -3720,8 +3720,8 @@ posix_checksum (call_frame_t *frame, xlator_t *this,
char * real_path = NULL;
DIR * dir = NULL;
struct dirent * dirent = NULL;
- uint8_t file_checksum[ZR_FILENAME_MAX] = {0,};
- uint8_t dir_checksum[ZR_FILENAME_MAX] = {0,};
+ uint8_t file_checksum[NAME_MAX] = {0,};
+ uint8_t dir_checksum[NAME_MAX] = {0,};
int32_t op_ret = -1;
int32_t op_errno = 0;
int i = 0;