Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1638366pxb; Thu, 4 Feb 2021 19:32:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJwhbDDc6imNAiOLJDIvBBa88vDcDDdnTsLg6dLlaXhsCSpgYVHZ/DY8nbQDl0FBGhLgvwcD X-Received: by 2002:a17:906:1d0a:: with SMTP id n10mr2124777ejh.22.1612495975624; Thu, 04 Feb 2021 19:32:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612495975; cv=none; d=google.com; s=arc-20160816; b=rnZiojsld/fRJedc6FQcDGq4/tHPJcNpf9DKOV/IWHJDAz1l3wgXeatE9XW4EVEWxz /yQd4UUYuogDPCzGypSeuTeldFP2akg6OoIgDxwG6AGiJUfsdNZ9sMicx3DZVWz7VPN1 /gjD4dM/f99mC+EMHIGz4LmypQT7rH/89IV7S2+7CrvgkzpT8PbozJEvrix0LFqcViV3 HulER8LHhcia/1y6KC51Lc141GA4hOnahNlywb3pTOsW/0e/AU5UoWCU9myeU6o7ex+R xfffTqf4dXsPptfifoCPp/GufZRed9X8gClePh7e/H856PiFUbp9L6PQg7Hxl2jpy6RG lTSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MeLcBJ7QAxNY8Mm3aB02nhxtiJQQ+Z1KiJmOi4/MkRU=; b=OCgxdpkuDEPdrclOgPhfRlOaSPDAaxqfcrIBfPMQ3a7eil03/knj1d5+fbpsEGGPRX 2UqaRUxgMnBlYJWlPLhDPgVYfS8Zk8w6qa+PuvTCU3kEy1fEhNgVHnQy2moWxKvoG+p+ u0+EPV2SQLfJiDyWc0C1IGcY6qZE86lYvPUnVkV+BqECztbt+KUaN6Bj2wKgzOl1yykT GrZ5bWIjkrI1p8fgRBucdkeo1pT5IuvcCGux9zGhCBM7+Xo8vhYPrusjaBjY44e3JV4A qH4XvL0RqUwUehO51PnoCfufwDWK4BsXGGpPW04OLrrr7xN1l3OpxTQnkMY+tYrdVWmh e5QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ohybSbE8; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k26si5266459eds.217.2021.02.04.19.32.31; Thu, 04 Feb 2021 19:32:55 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=ohybSbE8; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230177AbhBEDbN (ORCPT + 99 others); Thu, 4 Feb 2021 22:31:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:35944 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229987AbhBEDbM (ORCPT ); Thu, 4 Feb 2021 22:31:12 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7622464DE9; Fri, 5 Feb 2021 03:30:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612495831; bh=YrnJlDPd8sRkbI4GL0GqRMYmTyTpnNvvG+lac6F9V/Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ohybSbE8a4cofvH7Y+2h62Bs65embXZ/zkbaOJ+5zN4JVJe9Mj8NM9V8uqr1tHgLe 6nCGRtrWIXzX4Hx9NRkWKoVfK3kgREwoLK9+JWGx7KF93/jISDGeR0A+4R2Plo393a 6iBnKTF6UKVlBjDbQ8rW84Y+3lflr6mM/sHS9vZ5ghLOr0copawfrU/soMz+KGyrX6 N29u+1PcaYtI7hZSpl68thX84OXXy2UfKSMk91V3JY+piv5qefBYc19QoU/hMegdf0 h5ayYcQmDopXDK6Wjw334A+AXYMVfg5O0SsZ7nu9rusqpqH/yg1yob1DVynCGOzjJL oZN2VCfxdVfGA== Date: Thu, 4 Feb 2021 19:30:30 -0800 From: "Darrick J. Wong" To: John Hubbard Cc: Stephen Rothwell , linux-xfs@vger.kernel.org, Linux Next , LKML , Brian Foster , Christoph Hellwig , Allison Henderson Subject: Re: [PATCH] xfs: fix unused variable build warning in xfs_log.c Message-ID: <20210205033030.GL7193@magnolia> References: <20210205031814.414649-1-jhubbard@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210205031814.414649-1-jhubbard@nvidia.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 04, 2021 at 07:18:14PM -0800, John Hubbard wrote: > Delete the unused "log" variable in xfs_log_cover(). > > Fixes: 303591a0a9473 ("xfs: cover the log during log quiesce") > Cc: Brian Foster > Cc: Christoph Hellwig > Cc: Darrick J. Wong > Cc: Allison Henderson > Signed-off-by: John Hubbard > --- > Hi, > > I just ran into this on today's linux-next, so here you go! Thanks for the tipoff, I just realized with horror that I got the git push wrong and never actually updated xfs-linux.git#for-next. This (and all the other gcc warnings) are fixed in "xfs-for-next" which ... is not for-next. Sigh..... so much for trying to get things in for testing. :( --D > > thanks, > John Hubbard > NVIDIA > > fs/xfs/xfs_log.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c > index 58699881c100..5a9cca3f7cbf 100644 > --- a/fs/xfs/xfs_log.c > +++ b/fs/xfs/xfs_log.c > @@ -1108,7 +1108,6 @@ static int > xfs_log_cover( > struct xfs_mount *mp) > { > - struct xlog *log = mp->m_log; > int error = 0; > bool need_covered; > > > base-commit: 0e2c50f40b7ffb73a039157f7c38495c6d99e86f > -- > 2.30.0 >