Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1666785rwb; Mon, 7 Nov 2022 04:31:34 -0800 (PST) X-Google-Smtp-Source: AMsMyM7reP0jH4UZe87ECIyo07TMXF8OMEdf64STTuWoDxy9jOE3fx6XIMzfZTzwDqRlKQojr94S X-Received: by 2002:a17:907:3f98:b0:7ad:8bc6:4cee with SMTP id hr24-20020a1709073f9800b007ad8bc64ceemr48574644ejc.328.1667824293936; Mon, 07 Nov 2022 04:31:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667824293; cv=none; d=google.com; s=arc-20160816; b=OwdAC4SauIJ2buf2n26bVlMGXoyEYl6futhp7Bk+fUdLsUO6JWkCczNsrzVaK9SMlX 8ryB6xdB3yjmUSckC/58d0DDFL1SOQ3jJd9eQ5jr6LlLRxfnM5SxbWig7KGWpbAkbFDu R7lcL9wXCeAE0M2jzoXLslT2R7CKZ7yuDdIIvdM3pebMjyZ9Gn+muKza64HUJYcnratB P3EQjPJJwE2PfYldO2EfBYT57Zw9ncEDgyRP3mDQSv6fBitJNQKjUBcvKdyplKVKtfGj 50fRIRfoNJXUkNUbfKcrxFGk96lUM9QN3dvMPC75wrE7VMlHoqkbyIIXot20gU8ipEPp ve5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=C7sm+0ZjlPeHWK2QGLjZh2+Qy84xOiJKbExlK4PBZVE=; b=eXd7jxCfhlFaxCCZ/ZPpabGcPO5M2ixmdDzkaWettwDJEZzAB/7M857MdPaVzLDgXU jwVuOIsQ8sIYK74OTVJUfEwcOgAK5VtfAIFHROTmc7fDSLw4xWAK51N/U147nl/P/fPO bi2VHwkRmiOen/MXsZo6EvcCllD36PYnob06zW+Lojg6clchptbLP0JYwJqJNiGEbXrM LapkGUxgH4jmKMo0WeSQBhzRIl46dRj6tyIZvyux+0HIqxzjDhtEKPaK+AxM2QOQDstD kDVtneRUPMKmOug/FNxMbXDXPCpqQmE3Pze2WSEIeGp+iDDRJGhkvvpEhLjZPSHxuOHl bOeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WMVM5cbr; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp23-20020a1709071b1700b00782a5657512si10192939ejc.416.2022.11.07.04.31.08; Mon, 07 Nov 2022 04:31:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WMVM5cbr; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232276AbiKGMav (ORCPT + 99 others); Mon, 7 Nov 2022 07:30:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232252AbiKGM3U (ORCPT ); Mon, 7 Nov 2022 07:29:20 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4F9314D05 for ; Mon, 7 Nov 2022 04:29:19 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id v4-20020a17090a088400b00212cb0ed97eso10125347pjc.5 for ; Mon, 07 Nov 2022 04:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=C7sm+0ZjlPeHWK2QGLjZh2+Qy84xOiJKbExlK4PBZVE=; b=WMVM5cbrGLw1MAqYZ6qhcs4gxabPs1mpZzeqsupExnKZ+WxBeYt+LlpiEvebCijQTE QmOPcpF23UNE88IH943l06T/d+Rb9/XAKkewdABPEi4T2QOE5nNKlvqJx5aWclkcYRLO 8vL3JR3j6c8HcD1P2YU8baXleuMxFgYsuAfVcRiyd+d+QNn98hjVZ7nADOkAPYb3P1h9 m1SFnU62e4Qg4aP3OuiJqoMrUWdqxcqfdUi+9Zo4Jte4a3A89yQbVp956nFBPRlqmzMI t35Y54MQc0M3gBrewf27NCs/bXR42ogR3TKFHU+y50a8D8W3tM/qHQPO4MjS28M/gvW4 PIfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=C7sm+0ZjlPeHWK2QGLjZh2+Qy84xOiJKbExlK4PBZVE=; b=WiK9mcvFrzaUdwMbq2akeznQp6s1EBjmJHM+npijbNA8Tdm1bI+zDsjvUsFZOt1YMu YdJGIcVbc0QlnU3/+3gGWWJg/gYq5V4rnnSodQUdTO9FRoJ/9uyfIcZt4o7htznqZi71 1DD3hus3yYa/b3vl8qKpiNGmdzTO5TqEyyNnze/rUCFJglnG9hK3HqMlUFPo09BTGCeB D41PZQkBkJSsBuBtHhs4LxEnXIdKGigA001WuAs61aIKXbDTDL6oPgbRkNom3kdPZciy sPxr08095cQfC1nM0z1YMImTbXtbQC+dqFmcG2aVZ6nMp0qhFAVrhionQmWGLn18YeCK BqxA== X-Gm-Message-State: ACrzQf3EP2J2bGhfCOXI3SiNaoSGC1CsY+Xa6i1hCXrkMY102g940+Yg /ShHkBMR2C3Lw/nFeRfNURA= X-Received: by 2002:a17:902:e5cc:b0:187:2b02:969d with SMTP id u12-20020a170902e5cc00b001872b02969dmr37862751plf.9.1667824159419; Mon, 07 Nov 2022 04:29:19 -0800 (PST) Received: from localhost ([2406:7400:63:f20b:312d:45b2:85c1:c486]) by smtp.gmail.com with ESMTPSA id q4-20020a17090311c400b00186a1b243basm1526027plh.226.2022.11.07.04.29.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 04:29:18 -0800 (PST) From: "Ritesh Harjani (IBM)" To: Theodore Ts'o Cc: linux-ext4@vger.kernel.org, Harshad Shirwadkar , Wang Shilong , Andreas Dilger , Li Xi , "Ritesh Harjani (IBM)" Subject: [RFCv1 68/72] e2fsck: Fix io->align assert check Date: Mon, 7 Nov 2022 17:51:56 +0530 Message-Id: <3d088e682f655c3886e0c4c7f278a43b01a9b3f7.1667822612.git.ritesh.list@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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-ext4@vger.kernel.org dest->io->align might still get set later in case of non-aligned read done by any thread in raw_read_blk(). Hence remove this assert check. Signed-off-by: Ritesh Harjani (IBM) --- e2fsck/pass1.c | 1 - 1 file changed, 1 deletion(-) diff --git a/e2fsck/pass1.c b/e2fsck/pass1.c index e7dc017c..c934b021 100644 --- a/e2fsck/pass1.c +++ b/e2fsck/pass1.c @@ -2514,7 +2514,6 @@ static errcode_t e2fsck_open_channel_fs(ext2_filsys dest, e2fsck_t dest_context, assert(dest->io->flags == src->io->flags); assert(dest->io->app_data == dest); assert(src->io->app_data == src); - assert(dest->io->align == src->io->align); dest->priv_data = dest_context; dest_context->fs = dest; -- 2.37.3