From 28760cc3d37318e7e90ec65bf2ce6376916e8a3e Mon Sep 17 00:00:00 2001 From: Basavanagowda Kanur Date: Mon, 6 Jul 2009 05:47:27 +0000 Subject: storage/posix - replace ZR_FILENAME_MAX by NAME_MAX Signed-off-by: Anand V. Avati --- xlators/storage/posix/src/posix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/storage') 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; -- cgit