summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/protocol/client/src/client-protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client-protocol.c b/xlators/protocol/client/src/client-protocol.c
index 24e0d6c31..c912c7746 100644
--- a/xlators/protocol/client/src/client-protocol.c
+++ b/xlators/protocol/client/src/client-protocol.c
@@ -5346,7 +5346,7 @@ client_checksum_cbk (call_frame_t *frame, gf_hdr_common_t *hdr, size_t hdrlen,
if (op_ret >= 0) {
fchecksum = rsp->fchecksum;
- dchecksum = rsp->dchecksum + ZR_FILENAME_MAX;
+ dchecksum = rsp->dchecksum + NAME_MAX;
}
STACK_UNWIND (frame, op_ret, op_errno, fchecksum, dchecksum);