summaryrefslogtreecommitdiffstats
path: root/xlators/storage
diff options
context:
space:
mode:
authorBasavanagowda Kanur <gowda@gluster.com>2009-07-06 05:47:28 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-06 12:37:06 -0700
commit8fae42f8203df6a49b33eb7341def9782251f269 (patch)
treed63a7ded16aa9032d9a70b60aabc7af2e391c721 /xlators/storage
parent28760cc3d37318e7e90ec65bf2ce6376916e8a3e (diff)
storage/bdb - 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/bdb/src/bdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/storage/bdb/src/bdb.c b/xlators/storage/bdb/src/bdb.c
index 086d7d9e73f..2b1208b97c9 100644
--- a/xlators/storage/bdb/src/bdb.c
+++ b/xlators/storage/bdb/src/bdb.c
@@ -3147,8 +3147,8 @@ bdb_checksum (call_frame_t *frame,
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 = EINVAL;
int32_t idx = 0, length = 0;