From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C6F1C433DF for ; Tue, 7 Jul 2020 13:40:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E174B20656 for ; Tue, 7 Jul 2020 13:40:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728225AbgGGNkZ (ORCPT ); Tue, 7 Jul 2020 09:40:25 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:49294 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728182AbgGGNkZ (ORCPT ); Tue, 7 Jul 2020 09:40:25 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A2A2DC32DFB5654FB671; Tue, 7 Jul 2020 21:40:22 +0800 (CST) Received: from huawei.com (10.175.127.227) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Tue, 7 Jul 2020 21:40:14 +0800 From: Zhihao Cheng To: , CC: , , Subject: [PATCH v3 0/2] ubi: fastmap: Produce and release fm_anchor peb correctly Date: Tue, 7 Jul 2020 21:40:59 +0800 Message-ID: <20200707134101.562776-1-chengzhihao1@huawei.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.127.227] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v1 -> v2: Adapt Sascha's suggestions for fm_diabled checking in __erase_worker(). v2 -> v3: Free fm_anchor peb during cloing fastmap. Zhihao Cheng (2): ubi: fastmap: Don't produce the initial next anchor PEB when fastmap is disabled ubi: fastmap: Free fastmap next anchor peb during detach drivers/mtd/ubi/fastmap-wl.c | 5 +++++ drivers/mtd/ubi/wl.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) -- 2.25.4 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12B5DC433E1 for ; Tue, 7 Jul 2020 13:41:11 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D45D220771 for ; Tue, 7 Jul 2020 13:41:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CEipBp0e" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D45D220771 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=+OYh/xC2tW5Txjzh46IaktvSIFVH7mM5sFyoRqGKdd8=; b=CEipBp0e6wgONL6iUquhpO6/pT cC3fih37S/nqxEXSDCQOvwHAzpi16UQAI/ZhGGOiHn1HAlmhH9zh+tbpsGBsH4BlXjB1Kv9ixJJhe wMEG4rb5vjvYamkfV2qL1VIGC7ucy4ukviebTDWMAxtCDNs+tI7ytFlgO4KUWXFTZbJAuTDaiNtBD 4P+hmA+tYGmfPpSuD4eooH7bADUbBOolhrOyvLokNKEhbgRm8G/SbQMC2Y8oMcritBFAI6K/OKlJX y3bPwCXptie8h5SYwAENGtHjSGMxAfeIRvbF11a1L44iGkLtgMi7RVDnojXurW6+ZuzheCyEwCot4 r6aUvj5Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsnpo-0004nr-L5; Tue, 07 Jul 2020 13:40:32 +0000 Received: from szxga06-in.huawei.com ([45.249.212.32] helo=huawei.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsnpj-0004lz-RF for linux-mtd@lists.infradead.org; Tue, 07 Jul 2020 13:40:28 +0000 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A2A2DC32DFB5654FB671; Tue, 7 Jul 2020 21:40:22 +0800 (CST) Received: from huawei.com (10.175.127.227) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Tue, 7 Jul 2020 21:40:14 +0800 From: Zhihao Cheng To: , Subject: [PATCH v3 0/2] ubi: fastmap: Produce and release fm_anchor peb correctly Date: Tue, 7 Jul 2020 21:40:59 +0800 Message-ID: <20200707134101.562776-1-chengzhihao1@huawei.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Originating-IP: [10.175.127.227] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_094028_126547_96007FEC X-CRM114-Status: UNSURE ( 3.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: richard@nod.at, s.hauer@pengutronix.de, yi.zhang@huawei.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org v1 -> v2: Adapt Sascha's suggestions for fm_diabled checking in __erase_worker(). v2 -> v3: Free fm_anchor peb during cloing fastmap. Zhihao Cheng (2): ubi: fastmap: Don't produce the initial next anchor PEB when fastmap is disabled ubi: fastmap: Free fastmap next anchor peb during detach drivers/mtd/ubi/fastmap-wl.c | 5 +++++ drivers/mtd/ubi/wl.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) -- 2.25.4 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/