From 32824af10a8daa7239157af3326769c4a6b8f72f Mon Sep 17 00:00:00 2001 From: Sanju Rakonde Date: Fri, 8 Mar 2019 11:12:29 +0530 Subject: glusterd: change the op-version as commit 073444 is backported to release-5.4 branch, op-version for this change should 5.4 instead of 6. fixes: bz#1685120 Change-Id: Id504b9a1446125cea7c6a32117ccc44f28e73aa7 Signed-off-by: Sanju Rakonde --- libglusterfs/src/common-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs/src/common-utils.c') diff --git a/libglusterfs/src/common-utils.c b/libglusterfs/src/common-utils.c index e9237714498..e312b104747 100644 --- a/libglusterfs/src/common-utils.c +++ b/libglusterfs/src/common-utils.c @@ -2015,7 +2015,7 @@ get_checksum_for_file(int fd, uint32_t *checksum, int op_version) do { ret = sys_read(fd, &buf, GF_CHECKSUM_BUF_SIZE); if (ret > 0) { - if (op_version < GD_OP_VERSION_6_0) + if (op_version < GD_OP_VERSION_5_4) compute_checksum(buf, GF_CHECKSUM_BUF_SIZE, checksum); else compute_checksum(buf, ret, checksum); -- cgit