summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/storage/posix')
-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 a2e4ad761..0205c5275 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;