Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp793745imm; Wed, 4 Jul 2018 06:09:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfx++lsufT2pOpznJjNOnir2bYbz2eN2evLSb9jTbiz5wLFFoHA0y9vGHqaN8yPLI8S/MrO X-Received: by 2002:a65:63cd:: with SMTP id n13-v6mr1862913pgv.185.1530709793330; Wed, 04 Jul 2018 06:09:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530709793; cv=none; d=google.com; s=arc-20160816; b=W/g0pMKQEGTVHxnw6AW39zDC7bHVvQjlYROTe51T9JmAG0hVeX/7sf5kThtNENY8Mp 82efYsx81M4E3BuwA3J5DVX0FTmkarFbTx2qi3JXgAvV6NVYmkAYxvkZIT504w6YsIay NovNxyCuXxYeVObbxPPF86kJYPeG3EtpkiNmDckdg7jkopv3qbqz5zKR++A2C1uZ11K8 dYqU4bufK4QL03oVHMKsgmG5ToNRhEQdNbjTcyDLnQFfi7mK6RCSqvZpOgZw0FSnhQ+9 DwB7rOtKaILXQVO9SJEFNx8tPY0P2/JzOCLlxv9XFuUDCTsetckyUwbvEyXBXl5EiZSU UM0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to :reply-to:from:date:domainkey-signature:arc-authentication-results; bh=DCxKwaHuljTSogYpp/uXXwPJ96Ig8sXAjKX/L74DYRc=; b=BbiH1btldBK6pQj8mUN1xingPdyOH5tEbVclGw6srROq+FJ2+w9AVGeB3ZEJYkCiuA IDePigUtL4o07c7yEcg8A0DHhVURPTSdgwUhLzuZmYYfhNgzikhnHQ+I3qBaiUzX7cIC D1MqdY627c6lXUi0ydmz2E6t1I99+yn/meGYmhWzR0utylGqFrvzBWCg/clLwsADM2N1 Rrm3aoBV1emd/ndHOn9oye0/TAphtX6xHRVKpGO3S2uJCy31LMlAzDs2fMdpVqF64/40 pUMdp64Vma4NJFq0cdoKT7/o6PfhM9wf3QQ/nWGj/HV4zSLjA60Rvd6mPl/kF0pL93Yf 1G0Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g38-v6si3573751plb.262.2018.07.04.06.09.38; Wed, 04 Jul 2018 06:09:53 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753408AbeGDNIM (ORCPT + 99 others); Wed, 4 Jul 2018 09:08:12 -0400 Received: from sender-pp-092.zoho.com ([135.84.80.237]:25306 "EHLO sender-pp-092.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752715AbeGDNIL (ORCPT ); Wed, 4 Jul 2018 09:08:11 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:reply-to:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=jJILKjfU5cl98c9pq9GvhgZEpGZ6ZeHfVxOrrC1mT3LGYaPj4fR2piWf1VhRzdT8F1BLfkHT0MxE co0er4QBbEQ2/R1buD1mPTpzV/vsnhlDkOuJAlGQ96bWyMXCdkWg Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1530709655954389.37906206134755; Wed, 4 Jul 2018 06:07:35 -0700 (PDT) Received: from [123.120.80.137] by mail.zoho.com with HTTP;Wed, 4 Jul 2018 06:07:35 -0700 (PDT) Date: Wed, 04 Jul 2018 21:07:35 +0800 From: Huaisheng Ye Reply-To: yehs2007@zoho.com To: "\"Jan Kara\"" Cc: , , , , , , , , , , , , , , , , , , "\"Huaisheng Ye\"" , "\"colyli\"" Message-ID: <1646567c191.ed8ea5b817045.8715756414911693238@zoho.com> In-Reply-To: <20180704113012.trnfzeefao25clri@quack2.suse.cz> References: <20180704064058.1344-1-yehs2007@zoho.com> <20180704064058.1344-3-yehs2007@zoho.com> <20180704113012.trnfzeefao25clri@quack2.suse.cz> Subject: Re: [PATCH 3/3] fs/dax: Assigning NULL to gfn of dax_direct_access if useless MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ---- On Wed, 04 Jul 2018 19:30:12 +0800 Jan Kara wrote ---- > On Wed 04-07-18 14:40:58, Huaisheng Ye wrote: > > From: Huaisheng Ye > > > > Some functions within fs/dax don't need to get gfn from direct_access. > > Assigning NULL to gfn of dax_direct_access is more intuitive and simple > > than offering a useless local variable. > > > > Signed-off-by: Huaisheng Ye > > I like this. You can add: > > Reviewed-by: Jan Kara > > for the series. > > Honza > I am so happy you like them, thank you very much. --- Cheers, Huaisheng