From patchwork Fri Nov 18 09:02:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhihao Cheng X-Patchwork-Id: 1891 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp69939wrr; Fri, 18 Nov 2022 00:46:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf5YIwXoLrcT6oY4EwPBbo42BKnSo56puGTgPdGejXO1NkYGt4fLlJi7kle1mNTb0nt4nGJD X-Received: by 2002:a63:fd08:0:b0:46f:ed91:6664 with SMTP id d8-20020a63fd08000000b0046fed916664mr5679352pgh.558.1668761163735; Fri, 18 Nov 2022 00:46:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668761163; cv=none; d=google.com; s=arc-20160816; b=z4/9m/up16Zyjtra/3iTc2jaNMUrKZZ83i4nFrfige8RRfYCP1+GAJE7QkSNxFmnHA mJx/YCCS9AYvaKAJM/XQ6UCCBdMo49rkI2M7qgnxdmF1LjHvLotQ3zsZ8EKCIlIBhUZL 8P+7rjVH+S2ConXXdSSIuoGY0OC1PjpBgemuelQ959V7grn0QvAJrEu2Pb5c5QhrKLxa j73w/KO2MirqTCrMbwRdWfMjY8ShxonOBrFcH+3Bc8np5M83CjeiTAQQJp50bo9kulD6 PEaoZd/Sc13/iQhs9jY3TXiVMmiBJFH1McENCgPYhHnSejoTs2uNKoteH89NCd2ABZNS yygw== 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 :message-id:date:subject:cc:to:from; bh=mAP1tZjIYSpVXR6Lsw5+BnPT9mEZmV3o0Nmr02+qk1M=; b=HCSbeMw20wu6feWU8GFyfskW7BpobCH0XiwbIXKHzabbcZBDSy/7ugzTn/iDmnKACh wCmW76c5E/KP78aBQZ3kAuRTKboWRwPm+Qc10VZtZOlMakdXYfRwjG4vG9J77fZZLR8z UYZDDXTJaHe2QrqNTiGKJGa3dZNrBEEs5HwPz5UW+a+uW5Eol7r+mx/cM/jOOXxjIi/0 S7HcL4MUIQowCLFV16hcczNx/jTlR9flq2oC121f8JQZlnCv23C4s9N38b1Fj+1H2KBj VMkVXaiHkjBgGUwrZjkaDd/A6wCzHCQa4zyOuRA2Ph8DURgNESdetS+jHMP8JnHPap8a eXhw== 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j191-20020a6380c8000000b0047731d8c0ddsi745255pgd.511.2022.11.18.00.45.51; Fri, 18 Nov 2022 00:46:03 -0800 (PST) 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241346AbiKRIl0 (ORCPT + 99 others); Fri, 18 Nov 2022 03:41:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235088AbiKRIlV (ORCPT ); Fri, 18 Nov 2022 03:41:21 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62A3F63BB0 for ; Fri, 18 Nov 2022 00:41:20 -0800 (PST) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4ND9Gv5gW6zRpJ5; Fri, 18 Nov 2022 16:40:55 +0800 (CST) Received: from kwepemm600013.china.huawei.com (7.193.23.68) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 18 Nov 2022 16:41:18 +0800 Received: from huawei.com (10.175.127.227) by kwepemm600013.china.huawei.com (7.193.23.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 18 Nov 2022 16:41:17 +0800 From: Zhihao Cheng To: , , CC: , , , Subject: [PATCH 0/2] ubifs: Fix two bugs in tnc Date: Fri, 18 Nov 2022 17:02:34 +0800 Message-ID: <20221118090236.664244-1-chengzhihao1@huawei.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Originating-IP: [10.175.127.227] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemm600013.china.huawei.com (7.193.23.68) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749822905972761395?= X-GMAIL-MSGID: =?utf-8?q?1749822905972761395?= Zhihao Cheng (2): ubifs: Re-statistic cleaned znode count if commit failed ubifs: dirty_cow_znode: Fix memleak in error handling path fs/ubifs/tnc.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-)