Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1758776imm; Fri, 6 Jul 2018 06:05:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfPklr2bw/25+cotoaPBgcKR1j6n8KikcC7i0SJAM26TNsustfNbEChJpQOFBY0tppizezd X-Received: by 2002:a63:4386:: with SMTP id q128-v6mr9353861pga.353.1530882325565; Fri, 06 Jul 2018 06:05:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530882325; cv=none; d=google.com; s=arc-20160816; b=ATnCoAyw/9pqGDbDhSK1tvTIeTt3pxFC80rRJsrokG7OaORATU/8j39sv32CEHBbC2 L+hwVJeOZZX0nd8k98u4tW9F79ph+g2amqjjJTMVhfzHGhOjVEWmmgl7Em3z/KPeTy3I JKGDvieGulWldUnfXDu+9GSylCSbkrj+yPrtYD4hbaBOIuOR9IJNuGXVJD2tavWi+PEV 0NVh2hMqE2MfMCEg5Lq+iz9JBhZDMuG0571mxBdThNEPuiEZFny5NGiMrI0iajSgxAR8 4MxjhY15nP+o1qHE6NLoNsI6eN7OYcSayGK1xKf/fkYT5gxZX9RO52RR62U1AD3kHV1m mc1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:dkim-signature :arc-authentication-results; bh=DIy5riyuC6FHTd+mNWhWkHIvvp8JSbIhQcxe1m8l9g0=; b=kvuastscx/QsYc6bpJGlaWvdg+VndEYQhjakkZZFqAqArOXT0K+cCl09M/ntN89RnT xudzcuKZY9pP2kVmuOFzEVbh7Zdg/IpCeyftGiNF+wmuO4DoLB4W5R3WgOvZhpwmPDXu EPLzbYcmzx3/L9mS3mu/AXM2LEO+Wn7VFlQB+I8ks1ldgpYz67FvbuZYauKGAr0uudbK 5yjqnyHXjOS+T4g7Uz0fuPIPHSFGkBRlTDzbpmNKQnYzuq8yPb1694uCuT3rzSUZxsHq PE5eBpC9M+2z2JKhSf1c+xpvHgRyh/aTh638/UTdEBRYJKEdC3sMT6/0vhbN1cbzJDFP 7QIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=AVXrlqWK; 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 j8-v6si7827504plk.261.2018.07.06.06.05.10; Fri, 06 Jul 2018 06:05:25 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=AVXrlqWK; 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 S933377AbeGFNEN (ORCPT + 99 others); Fri, 6 Jul 2018 09:04:13 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36798 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932379AbeGFNEL (ORCPT ); Fri, 6 Jul 2018 09:04:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=DIy5riyuC6FHTd+mNWhWkHIvvp8JSbIhQcxe1m8l9g0=; b=AVXrlqWKy1GYe3ywKyrxMjaHiY 86hxPKrdKgOHFVrvsbsppHMBhB0Ov+a6EzjUW9Cl3U7h+MqZQ7ec42R7AUQh+hcqByVlTa305N/B8 KTZ2UVlfkDp64gHazPbThqXc7s/9B9UwbZpt+UILN5oF2TJCnkp154Ry+UdXDenYxE1XpXiQxG+I2 PT8NoD6KvD/K3kAfmFHvcUybPJcigRoY9kUHw3G/e33OfFl8Jlsv+flLlE5Ks0hJnWq5lxNdhYT02 n+UvXRPXDVnhop3piDUz+89eUukoJBv+3oEuFYMgLoYjiWS8wy9pnVkdFHCHlCG062093Nr0afQIq rqaUatNQ==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbQPA-0005DV-3h; Fri, 06 Jul 2018 13:04:08 +0000 Date: Fri, 6 Jul 2018 06:04:07 -0700 From: Matthew Wilcox To: Ross Zwisler , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Jan Kara , Jeff Layton , Lukas Czerner , Christoph Hellwig , Goldwyn Rodrigues , Nicholas Piggin , Ryusuke Konishi , linux-nilfs@vger.kernel.org, Jaegeuk Kim , Chao Yu , linux-f2fs-devel@lists.sourceforge.net Subject: Re: [PATCH v14 68/74] dax: Convert dax_lock_page to XArray Message-ID: <20180706130407.GA18395@bombadil.infradead.org> References: <20180617020052.4759-1-willy@infradead.org> <20180617020052.4759-69-willy@infradead.org> <20180629173055.GA2973@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180629173055.GA2973@linux.intel.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 29, 2018 at 11:30:55AM -0600, Ross Zwisler wrote: > On Sat, Jun 16, 2018 at 07:00:46PM -0700, Matthew Wilcox wrote: > > Signed-off-by: Matthew Wilcox > > --- > <> > > +static void *dax_make_page_entry(struct page *page, void *entry) > > +{ > > + pfn_t pfn = page_to_pfn_t(page); > > + return dax_make_entry(pfn, dax_is_pmd_entry(entry)); > > +} > > This function is defined and never used, so we get: > > fs/dax.c:106:14: warning: ‘dax_make_page_entry’ defined but not used [-Wunused-function] > static void *dax_make_page_entry(struct page *page, void *entry) > ^~~~~~~~~~~~~~~~~~~ Yeah, it was used in one of the functions Dan added, then removed. I understand he's planning on bringing that back before 4.19 and I'm going to rebase on top of that, so I've left it there for now.