Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3855426ioo; Mon, 30 May 2022 11:13:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrCzbarvnZkStNj5hMGN+Z+Y1vhdW4lW7RoXEECx/MZZxpiRh8Jlr6LC+HRRxZVUs0OEAA X-Received: by 2002:a17:90b:4b02:b0:1e2:ff51:272a with SMTP id lx2-20020a17090b4b0200b001e2ff51272amr6159068pjb.56.1653934419239; Mon, 30 May 2022 11:13:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653934419; cv=none; d=google.com; s=arc-20160816; b=GmIMAf/sekx85vRsYkJbUpide9A/aPYqHefXXsVKkGniRu9WBKNQoDVCe97sKvfvYk ncPWjnuRE518QHAQB9mHgKJUVWVukK6+CFeZD5wviUB4Cna7pV3Akf+q7ay4MrVHkbsR mbcXCOcqEzyW7/C3dBHvEzrIL8gFrmfotCK+OMV9/y7wC2OdqCShenM5dXadn6VC0Wst whuOsG7W8NvFmzGJGxgxVw5q3VfgEhd1dq0bQ0eS0amWM/bZkPcikyyZOrd34aalDjRV sd6tdkW/VA93BAVBDV1tDkUE62+TqrMfvOL5AHPTOzibkyXOOnhoZOb6icvjEWhHymDC mCew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Rvk3x+44M+1d1c24o/b8iOHCo/yxdyH2yJM1ee+XAp8=; b=uhxi1JC9jp+kx+4yB1Cq1mbUHn9WboKbd0lH0DCTo2DC+d9UNubjjBMzTEab9IcVM4 MDwmhttcPLd7fr/dD04fgaUkVTBLcKPIaPxVAIhkUpLhpDiF2WpkFV/+dezJEoAYrkOd J7I9Wznyv9h6E8J6/HWok3IwZ9aVIVoe1FIg18cPUfQ3f8LF3QUEJ/0vvWG5Tlrq59I9 aAlLvvlxeggVtn1+kwbTEeqI3XVTyl0P4gpirNYVurBpxEPMzj5pkpeg1O1A3TzoQ1DF nMm41JYC/j4HSbg56+xVIjzHanHtTjcGhBrkh5SVkPPot6MkruHJ6p5dQ0r7lss7BHEU vX7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ns21-20020a17090b251500b001bd14e01f2asi38544pjb.24.2022.05.30.11.13.27; Mon, 30 May 2022 11:13:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231939AbiE3IIy (ORCPT + 99 others); Mon, 30 May 2022 04:08:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229839AbiE3IIx (ORCPT ); Mon, 30 May 2022 04:08:53 -0400 Received: from out30-44.freemail.mail.aliyun.com (out30-44.freemail.mail.aliyun.com [115.124.30.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9EF0644F7 for ; Mon, 30 May 2022 01:08:48 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R801e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01424;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VEkLGFr_1653898123; Received: from B-P7TQMD6M-0146.local(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VEkLGFr_1653898123) by smtp.aliyun-inc.com(127.0.0.1); Mon, 30 May 2022 16:08:45 +0800 Date: Mon, 30 May 2022 16:08:43 +0800 From: Gao Xiang To: Weizhao Ouyang Cc: Gao Xiang , Chao Yu , Yue Hu , linux-erofs@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] erofs: fix 'backmost' member of z_erofs_decompress_frontend Message-ID: References: <20220530075114.918874-1-o451686892@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220530075114.918874-1-o451686892@gmail.com> X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 30, 2022 at 03:51:14PM +0800, Weizhao Ouyang wrote: > Initialize 'backmost' to true in DECOMPRESS_FRONTEND_INIT. > > Fixes: 5c6dcc57e2e5 ("erofs: get rid of `struct z_erofs_collector'") > Signed-off-by: Weizhao Ouyang Many thanks for the in-time catching! ;) Reviewed-by: Gao Xiang Thanks, Gao Xiang > --- > fs/erofs/zdata.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/erofs/zdata.c b/fs/erofs/zdata.c > index 95efc127b2ba..94d2cb970644 100644 > --- a/fs/erofs/zdata.c > +++ b/fs/erofs/zdata.c > @@ -214,7 +214,7 @@ struct z_erofs_decompress_frontend { > > #define DECOMPRESS_FRONTEND_INIT(__i) { \ > .inode = __i, .owned_head = Z_EROFS_PCLUSTER_TAIL, \ > - .mode = COLLECT_PRIMARY_FOLLOWED } > + .mode = COLLECT_PRIMARY_FOLLOWED, .backmost = true } > > static struct page *z_pagemap_global[Z_EROFS_VMAP_GLOBAL_PAGES]; > static DEFINE_MUTEX(z_pagemap_global_lock); > -- > 2.34.1