Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp628593pxv; Thu, 1 Jul 2021 06:04:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUN4/7c1pKhslAZhGSA3OfBVkVH/Rc0LQru8xchlbMz63nqGXtPYUYSE5Ju6587siL2sRb X-Received: by 2002:a92:1942:: with SMTP id e2mr31022441ilm.4.1625144695451; Thu, 01 Jul 2021 06:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625144695; cv=none; d=google.com; s=arc-20160816; b=QjX82s8Xm5Krux8FIpigAmZ3U6CNb4HtsX2BsQse/ksjC48khB543ucIf1jCZ9safW GUSEVVrtAiDyQEQhF2kXkDss8v4zchPnwDmLlGORED6187JljdO6nZ6sP5A+QL/bpReu EC1QQlxo98Y77wdA1huyYWyn6dbPeqmhsisgEoEvzoZW0YncJ1t+T7rl/BGqh9oMo0ok /kMfUqwI+KwjASrWXi+HjgZgIIQd83798DfL7OeyGuh9lRHJV5bEiXeG3GY0JHKIGMhD og82SOYVFWqKaUIJsnjTQ+f5XDFFUIpS9nkdr1RD1TfgTZrGzL6C+YmgBqz/6NzDBXz0 oiKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=DaPUpeGq4S3Zxelp1iJnw2sl2vB3LeguXSMXQNFZYHM=; b=E0rKjffAiHa1fIpXh8Kj7YuW8jBUAjCsS8cH9AotLcH0rYyQzys46wQRMHfcKf+Uq0 lP3Jy84MBk/ficBaxuSFU52vrAVAJeSg65OX4vf09s84m5TAOF1a24U0h0fIPEU6k1gg dwmLGloap6DMhEnqTdlcuVdwGtu20+hSplwukLKOVQZBBN55jOjETawgQ3PHr6yocTvG wB2JCmv6bnzdhhmIl2Y2vndophRZ1fAAGO9fuCiF2Yq02ivpchm3ewuCxJDNdYQmu0bR skx089mkaXCGFyCeWcVcMrSCcptj3eh9OkI45boTg1bdKP5C8HCU6TRYVd3OeXfcGSe3 FA6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rhIz2OrW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id e3si24697884iom.57.2021.07.01.06.04.42; Thu, 01 Jul 2021 06:04:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rhIz2OrW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S236630AbhGAND4 (ORCPT + 99 others); Thu, 1 Jul 2021 09:03:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236614AbhGANDO (ORCPT ); Thu, 1 Jul 2021 09:03:14 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 847A7C0613A3; Thu, 1 Jul 2021 06:00:42 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id yy20so10262124ejb.6; Thu, 01 Jul 2021 06:00:42 -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=DaPUpeGq4S3Zxelp1iJnw2sl2vB3LeguXSMXQNFZYHM=; b=rhIz2OrWRKxx/a+2VkK9ig3LnQCF7LQXVySbjUv8Tg6gNS0I4aIvQOzCSEyYgaZb4u YAYu/GPDCdpRaiQLtYQt5rz0kW4tf8JVYJo3LN8BXGNuQAIzuKdCmWshN56S9LwXguVz YspgpuH7e8ZaM4g7DckGHTqp1DCIGeQJDQEniLGRqxZWvbD1k+JC8cIMCYI872EJ/Odw EAZDjMw+UR3GoDBZTf0U/VVjdEEFvqL9W9gXKk2dhWK4vVniJqxK+MPpf+yYmW6oNUB4 9qojbls90/gqdbIfySZruC2Bk5JfnON22bIsCvVeEAFepc8VSZxxtLfAWEJus0psMhl9 z08Q== 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=DaPUpeGq4S3Zxelp1iJnw2sl2vB3LeguXSMXQNFZYHM=; b=CBiZwYI6zdp4/AnFYPsRysf7bBiF447JWaPQ41JjQQ+JWxS1YHz4XbePrPfINuuh2M KT0s/yJ7JhE3uK8lvJbAcgKiMjVA36xM6ubBsUZZbA+umc1Pbgs+bZXyU53HUcPwssR9 aeTSO1SGKX8lRzmGXvle+tV1bAFEXfkflKx4IyOxE2u7TS75DW2yG0HDFxFEIf8Jop0e 5g5eOjP1rIPyHNmZqPujg5lH7j0OJx85Q4v5rlIcOOkg+twB0bOuRwW6Djvu0WTHR4+t 7wes/4Eoe1L4L6C4tmznWHQK/8NclVX8roWilpsX4G7xU/MWQPZuhAIWCwm9Q3CyxKty ohsQ== X-Gm-Message-State: AOAM531/i+UFDz4avVQ4Sna7R95iJ6PqVurHms8VL/XQYdKgRRBKDvnM VuinFKyISjtNCweG5jloAOKtm7rizNktPKXfj6M= X-Received: by 2002:a17:906:2844:: with SMTP id s4mr40598906ejc.263.1625144441012; Thu, 01 Jul 2021 06:00:41 -0700 (PDT) MIME-Version: 1.0 References: <20210629022556.3985106-1-sunnanyong@huawei.com> In-Reply-To: <20210629022556.3985106-1-sunnanyong@huawei.com> From: Ryusuke Konishi Date: Thu, 1 Jul 2021 22:00:28 +0900 Message-ID: Subject: Re: [PATCH 0/6] nilfs2: fix incorrect usage of kobject To: Nanyong Sun Cc: linux-nilfs , LKML , wangkefeng.wang@huawei.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Nanyong Thank you so much for sending this patchset. I will review each and send them upstream if applicable as is. Thanks, Ryusuke Konishi On Tue, Jun 29, 2021 at 10:54 AM Nanyong Sun wrote: > > This patchset fix the memory leak problems and NULL pointer problem > caused by incorrect usage of kobject in nilfs2 sysfs driver. > > Nanyong Sun (6): > nilfs2: fix memory leak in nilfs_sysfs_create_device_group > nilfs2: fix NULL pointer in nilfs_##name##_attr_release > nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group > nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group > nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group > nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group > > fs/nilfs2/sysfs.c | 26 +++++++++++--------------- > 1 file changed, 11 insertions(+), 15 deletions(-) > > -- > 2.18.0.huawei.25 >