Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp267836ybe; Wed, 4 Sep 2019 19:41:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwoBxUlF33ni94q9sfzk4Kptm5hVjP5YW/dF05wioz5BBR09gqeY0DM8I3GlqodDtXHqcl6 X-Received: by 2002:a17:902:166:: with SMTP id 93mr941358plb.195.1567651292492; Wed, 04 Sep 2019 19:41:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567651292; cv=none; d=google.com; s=arc-20160816; b=PTgccPVwT0BwTcijEwrpULUUPgOUGqymfcFvwIo7LPYU+/b2UC+sn9UK/W3PU7rKiT 30gDhB8p7LJkRaulmw0WMsTNHr3qFVyG0IBsvr0g80IS/Ie1xYmndyGoXURdF1TlxUq5 01kAuTIOCrP/U0d1hFYWJsTycdZatfknyE9rPr5VCMkqSCqjEAha8hWeA+l2TwzimM7u S3jYe5/HoQUykRnT4NekJyhiaMXJCng+9xQfJjR7XiXGnySAINPoEXDl1Rdf9j5arA8y 5iTBYZaUHI8bZFsnCCHHa/IfaJI467PpRXDaFNXebQobYEnFyR4CRGtn+HOslq8RRxXZ 8XyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :references:subject:cc:to:mime-version:user-agent:from:date :message-id; bh=/G7FjNBS6PLk8YQCZcRy6jmh8men3c7h9hdI5YA/bsg=; b=RKtvwA+UUWQF80EyBahxZ7XAb7UVz/Q+QKwb3UxEAnfAo30s496kaOKeay4DisUyJo rLdHNqXN022Ezig76Nx9IaBSRwuBxMeWO9z25NRYNFNT7qz9wBzTw4qEf3NNLqQk7TZS jhIIntaD5N+I1kR6aSc5oX0NvMv60xkky0l3YZpoXy/CkXPx4vExt9LDM87ig8CEQfzc KgDFwqURu1L5cbl3Re7jHo6llnjXY51oh+Gvj/RK5Oooe2xbOmPz2qUvoVCTYf4WCj4H KY6OglpB71B3+zvNSLAkgwkGHM3ZE2umqhXB6WQDbO2aJyEYbfo5lmCRL6om7si4yDP9 uL6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si507135pgo.241.2019.09.04.19.41.03; Wed, 04 Sep 2019 19:41:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727900AbfIEClA (ORCPT + 99 others); Wed, 4 Sep 2019 22:41:00 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:53932 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727162AbfIEClA (ORCPT ); Wed, 4 Sep 2019 22:41:00 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id B0203874C53B39768FF9; Thu, 5 Sep 2019 10:40:58 +0800 (CST) Received: from [127.0.0.1] (10.177.29.68) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.439.0; Thu, 5 Sep 2019 10:40:56 +0800 Message-ID: <5D7075B7.3080400@huawei.com> Date: Thu, 5 Sep 2019 10:40:55 +0800 From: zhong jiang User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Markus Elfring CC: Anna Schumaker , Trond Myklebust , , , Subject: Re: NFS: remove the redundant check when kfree an object in nfs_netns_client_release References: <1567490688-17872-1-git-send-email-zhongjiang@huawei.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.68] X-CFilter-Loop: Reflected Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 2019/9/4 23:11, Markus Elfring wrote: >> kfree has taken the null check in account. > I suggest to take another look at a similar patch. How to fast find out the similar patch. Search the key word doesn't work well. Thanks, zhong jiang > NFS: fix ifnullfree.cocci warnings > https://lkml.org/lkml/2019/7/7/73 > https://lore.kernel.org/patchwork/patch/1098005/ > https://lore.kernel.org/r/alpine.DEB.2.21.1907071844310.2521@hadrien/ > > Regards, > Markus > > . >