Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1865243ybh; Sun, 8 Mar 2020 15:25:23 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsJ/kJ9t9tQN3JD8vqekEScG4iaSm1M2X6bR58sbhtFYwd/vn3zPjUNGrjesnVIZDlB5L/t X-Received: by 2002:a05:6830:168b:: with SMTP id k11mr11307838otr.156.1583706323825; Sun, 08 Mar 2020 15:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583706323; cv=none; d=google.com; s=arc-20160816; b=gg+kB9Um4NLbI+lmWBvrl0qQDYF3wQ+UGk5OE9O33A6PYWn7TfMDNXpxvzrKem50q6 xhPSI03+1WJeJjALcSG2feYzMKGRlEFv8XPStz+PtWJgv4QhkCyX5Xaqlb1j4llZm8mt adfQ8Mwog+DInZ4Z8sxI0tpX5pW93XDlqkuM5ZLSdMhin8kz4rRi3K9LeZ0J5XzgOehd B5k/rULVGZE6QZrFcqV6E7JLWEijVyGyH6WJ/nZKaymR78hIKQ1KaS7Yyo2LB2RiPCH6 HiC497+DOk1ZTIqzDs9wweYm+cOzAMDtIFoFhU7BHhFvAPFfoxqpl9BQHGQ7qE3Ph9VW RdJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=URASEgXLCXmYqmGOZmBnXuA4vIEVErfWf/qZrIyg958=; b=0Q5yd/HifxbRTMzbI8wWE0/zgs7ZhbCdg8uhbV4qtR5huo05ub/0op8ZRm9ii4uK+M gARt0CBOxCS9GUcSIn8V0cHEwx7Xwpo/KGIlCxtLt+CqueZ72XR9wHdslTU1CJiExBmt XOLQ4OVxksL3eOD+ium/B1KQagg3ijtiqPFr4cdQ+9FVfyWAeWi8MJVj3kpXtzT6osdj Bv9+ebY/fUmVwXluB7h59mSLmh7kaf9BLDr8w1hZV8gVJAPiUD/FjEAZwqD/RHpCGOXS kVGMm8U0PeeOx6qX6+cPbSaB/O6Q8y9TX4Vm2spxgIf2vmlvX8bmUx2XWrAZAIGz6snY W6Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="GH8rXg/R"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q16si5669634otm.231.2020.03.08.15.25.00; Sun, 08 Mar 2020 15:25:23 -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=@gmail.com header.s=20161025 header.b="GH8rXg/R"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726363AbgCHWWX (ORCPT + 99 others); Sun, 8 Mar 2020 18:22:23 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:40952 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726346AbgCHWWX (ORCPT ); Sun, 8 Mar 2020 18:22:23 -0400 Received: by mail-wm1-f65.google.com with SMTP id e26so7753311wme.5 for ; Sun, 08 Mar 2020 15:22:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=URASEgXLCXmYqmGOZmBnXuA4vIEVErfWf/qZrIyg958=; b=GH8rXg/RBoeVCHRmXU7UaG368GOcyNH1caDPqDVVF6GbTSgYso6W3DLUf7SrTbO6sA bkwMeYCDv+XETt8/tzyMDVtZj5OZfWcoCNNHKpWIDyLFe3tbQVNgVqkPz22BD/em0q3f hacqUYidd7GIJWHIe2nXG1VB2emWOM+LtvhnNXGEiq6ReuAVIAuo0wM6kwUA6AZHr7VX 9JWOxz4FT2imO1mc7qnLiZuBNrLI5agTs1E8VH3TPvUfO+Y6ep3uQytJzfYOG3xsD8Rr tK1I2UcRyS5bprFNdWETLDrJmhSOu9pwrmnfplky0VTsnLFUGg/bqUjYNFCdzUopV2/T 4YPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=URASEgXLCXmYqmGOZmBnXuA4vIEVErfWf/qZrIyg958=; b=tj/79mjIg2NYp4KZanmRCiz9XMqLiRnveBR7DThNpA6p/ge7qmOK5W9uL7lqEGfnDk mEPgniSjepuKfSSngtazBM4Oun4040djGKxqdjPpJHYK9FwcdkSltt08HWNzsmB4rTQC D5JBkBzAStZ4F/GwCHmHoggYkIzkaejtWASYU3vfw6T/8+taRk6/9IZn4dnd4zkFDI+p 07M+jWkDf6OqBYCNM4SHZw+vkVooaS0nwTBaqPqjlh+aU4FZGhHidhrU8mrhf4RU6g2o 3aJ9vwQsxKspEQ5Vc7eRkrx/U4r/RUiahvGzUXUkHSjrodqJ//2IxV2JUM91bUBpqBPP eSCA== X-Gm-Message-State: ANhLgQ2aaKjFKW9DcWyoGQxIb93XUA9OQ5Dru0xLuLotZtosp5hzjWwD gytZZQrj3LpR4cGdP1mQAxnlyKb0SAQwWraOGuY= X-Received: by 2002:a1c:2d88:: with SMTP id t130mr17785876wmt.68.1583706140146; Sun, 08 Mar 2020 15:22:20 -0700 (PDT) MIME-Version: 1.0 References: <1583228423-60816-1-git-send-email-chengzhihao1@huawei.com> In-Reply-To: <1583228423-60816-1-git-send-email-chengzhihao1@huawei.com> From: Richard Weinberger Date: Sun, 8 Mar 2020 23:22:08 +0100 Message-ID: Subject: Re: [PATCH 0/2] Fix two mem leak bugs To: Zhihao Cheng Cc: Richard Weinberger , Sascha Hauer , "zhangyi (F)" , linux-mtd@lists.infradead.org, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 3, 2020 at 10:33 AM Zhihao Cheng wrote: > > Zhihao Cheng (2): > ubifs: ubifs_jnl_write_inode: Fix a memory leak bug > ubifs: ubifs_add_orphan: Fix a memory leak bug > > fs/ubifs/journal.c | 1 + > fs/ubifs/orphan.c | 9 +++++++-- > 2 files changed, 8 insertions(+), 2 deletions(-) Thanks for fixing, applied! -- Thanks, //richard