Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2802668ybl; Mon, 19 Aug 2019 07:44:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNfiQ5nrsU5CkydidN51zK7zRugxLB7DduR2YNWuGRae+Jf1n5c0t5gB/RvtepUwIK227/ X-Received: by 2002:a63:30c6:: with SMTP id w189mr19548011pgw.398.1566225884299; Mon, 19 Aug 2019 07:44:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566225884; cv=none; d=google.com; s=arc-20160816; b=wYUIy8h7CfeGFien7A4Eiy2lQcidL/Qm3sOzS3Ihc9tqGhDk1Id/MbTxs14c2jggtc cWf83s171ONjBpb8fvTyzxPBqZfsDH+wbv6wJLgnVAukiOPbrvGNZoTg/0MMGYCXyhzs qESDo24f0e7BrmC8wDEMI3CB4Dm+p1VxSprlRSvKm2aH/gnicbHutQJ7nZOHT2pSovc/ fgf3uhH3e91mwkunORmVeEsI2OM6X812LV0CKiCGZZywGPV7o4uOEHHL2zB/lWByoaXP rymFs+AtRCiONZoPVMvGHnzGCyFawLpn9DJpdWzvLKWJGUzIo78OzwPS96ZHmEsNp94N mHMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=SQbeSItHtI8tHgHxQ/pgZBhMkn8Jw3Jk/AMlxq7qsvk=; b=JQ74uIxbrTuqD5CbybuIAR4FpzfPe7L2XLuY10nYWz30720a3r2Ijp+FqxY8eGHzzt AMYEEzoCfL+tAEtuW1PsHUGKWmQK30N2fOJUn0Vc/cJG/F9Rz+NXAkOP2XKPVg+64N80 d4LUErIbYLT0jqZ5VTVzdf9nwrprOV8YbgXaYL6O/anx6IdqVirNH2rmP8S+q3IrDqu4 px3vCCfyH4QeF7cqWgfKH2CJqamXE6eaBInr7VUY48IBBuLpVxRwcIySqax/SvpjxQxD hnP2lry6UpCVLp8a6+yRc0CGsheIhzDQj/KDSBBTlyMIDdQz5Jlfy0NfTZSICnWnffro n4/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="gZtE/7L6"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s21si10067499pgg.168.2019.08.19.07.44.29; Mon, 19 Aug 2019 07:44:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="gZtE/7L6"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727314AbfHSOng (ORCPT + 99 others); Mon, 19 Aug 2019 10:43:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:41532 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbfHSOnb (ORCPT ); Mon, 19 Aug 2019 10:43:31 -0400 Received: from [192.168.0.101] (unknown [180.111.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 78FCE2070D; Mon, 19 Aug 2019 14:43:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566225811; bh=mg7wpQqI+knk/uHjwLJFGO8j6H4IuCQ24kKaay86NeQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=gZtE/7L6ogJOIpE0DRbvf0ujK5r0mLjMBaDuX6EusC0a/MTVN0c0dTqDlkhtERkHH ++3CdRguWrr6gwE2szGk9m/bTR12uyWjiB8jECF/fkkO5PsV/xTSgmkGSlMCklsYY4 jerBG5WCvu2u2QxU3hoEaU6t2S2PLdK3zvnqt7iE= Subject: Re: [PATCH 2/6] staging: erofs: cannot set EROFS_V_Z_INITED_BIT if fill_inode_lazy fails To: Gao Xiang , Chao Yu , Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-fsdevel@vger.kernel.org Cc: LKML , linux-erofs@lists.ozlabs.org, Miao Xie , weidu.du@huawei.com, Fang Wei , stable@vger.kernel.org References: <20190819080218.GA42231@138> <20190819103426.87579-1-gaoxiang25@huawei.com> <20190819103426.87579-3-gaoxiang25@huawei.com> From: Chao Yu Message-ID: <22896e81-3474-2cc3-8023-744814f99549@kernel.org> Date: Mon, 19 Aug 2019 22:43:25 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190819103426.87579-3-gaoxiang25@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-8-19 18:34, Gao Xiang wrote: > As reported by erofs-utils fuzzer, unsupported compressed > clustersize will make fill_inode_lazy fail, for such case > we cannot set EROFS_V_Z_INITED_BIT since we need return > failure for each z_erofs_map_blocks_iter(). > > Fixes: 152a333a5895 ("staging: erofs: add compacted compression indexes support") > Cc: # 5.3+ > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,