Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BBBEBC282C5 for ; Mon, 3 Mar 2025 05:50:12 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Z5nw24WGqz3blT for ; Mon, 3 Mar 2025 16:50:10 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=115.124.30.132 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1740981009; cv=none; b=cRgL4W5dfY0rvNWYu9+oanQ1HqQI67voWNoXUVlR19lZ4KqPkZ+Rak7SSl12GBaJlf1dbzrIIpmQc8RxNRl0Hlk5oWXSvfBpJhDPzA9XIhq740ZeIfulahrLDSBrahBAGCNr6HjUkk1GP/FGI2C1qMFlbmhcR0PxxaJWEhLGU1I4W3pNUkY0hnC9n8LWFPwiyeRT9DaTzRP4D1BKiRrRnEV9m8TcqCrf7gtxKC99gHnxX9+j36tKCZ9k46M69ZtXgqILNIFAW5VejRDmlBp5OnpA7HUYzRvMLgcl6x8DKH39ci7byQQD1+nH/ZuFwuzNywwcI2/XgFv0cmq8WqRi3Q== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1740981009; c=relaxed/relaxed; bh=c9e+P308Rn5hAfgbA+vkC4sRxHiM6O1+XU8kwheFlwM=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=D6XpBPo/8obwMvKAi9Ytva17sR4y7ZLli0SAL/zI7yvc2KpzAfi9LncNq4W6oSKNQVLfo1bkf+OalkAT9O1mAOJ0J2sJZWjm2X+gWLDGJ3GiFMfrNNGzgXmM1YU2G4vBnxftOnNAJXy9mOydwVJW+ASlTkTJYY2QtqgEa1Gq3UoblDVi2D7akS9uczibKXFqBqD0dfFkPlTqYEvZgbEuGJHQIB0SkXuSSmWtGqEh9G8Ip3ds7X3r0Gray1Hr7C+Q0BbtIiGS3E1MNBY+B/YnzSnY5ARU4BbmVdmKgfAeckXRn6mpjL5xFfZZGkRHDq2JDDc/dBYVGtn5cAz94CFaMQ== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; dkim=pass (1024-bit key; unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b=RsmrPxWk; dkim-atps=neutral; spf=pass (client-ip=115.124.30.132; helo=out30-132.freemail.mail.aliyun.com; envelope-from=hsiangkao@linux.alibaba.com; receiver=lists.ozlabs.org) smtp.mailfrom=linux.alibaba.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b=RsmrPxWk; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.alibaba.com (client-ip=115.124.30.132; helo=out30-132.freemail.mail.aliyun.com; envelope-from=hsiangkao@linux.alibaba.com; receiver=lists.ozlabs.org) Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Z5nvz1k56z2xjQ for ; Mon, 3 Mar 2025 16:50:05 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1740981002; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=c9e+P308Rn5hAfgbA+vkC4sRxHiM6O1+XU8kwheFlwM=; b=RsmrPxWkS/bPSTENRppppypW1ThL/eckUAyqB2/Bke0kUxKfTC5L7tostYp8QkCt3S9HztFIth0AgVQzKZGzGW1ibrWFzzEDSpTTf37xx8xi79g076UEth2VGRxWSKOCEgpNIt6PTaIWhJbGyaGkzgkddXmm1l+rzN9kTFL91GY= Received: from 30.74.129.132(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0WQZ0-Qb_1740981000 cluster:ay36) by smtp.aliyun-inc.com; Mon, 03 Mar 2025 13:50:01 +0800 Message-ID: Date: Mon, 3 Mar 2025 13:49:59 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] erofs-utils: lib: fix inappropriate initialization in cache.c To: Hongzhen Luo , linux-erofs@lists.ozlabs.org References: <20250303054253.1154648-1-hongzhen@linux.alibaba.com> From: Gao Xiang In-Reply-To: <20250303054253.1154648-1-hongzhen@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" On 2025/3/3 13:42, Hongzhen Luo wrote: > This patch fixes the inappropriate initialization of `dsunit` and > `bktmap` in cache.c. > > Fixes: 8bb6de4e7c41 ("erofs-utils: mkfs: support data alignment") > Fixes: ca0f040f98b6 ("erofs-utils: lib: use bitmaps to accelerate bucket selection") > Signed-off-by: Hongzhen Luo Nice catch! Applied. Thanks, Gao Xiang