Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3603524pxt; Tue, 10 Aug 2021 07:18:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+H1+4ZwZz6gOqLha8QzyD1XDLbwpbkNjtfBGOzu0NbaTtwLlZgpIUZCUnjTw2h2CfV1P9 X-Received: by 2002:a17:906:3782:: with SMTP id n2mr27288506ejc.368.1628605099422; Tue, 10 Aug 2021 07:18:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628605099; cv=none; d=google.com; s=arc-20160816; b=ByvDDOQq0BIR/U/wvedtgk2Wu/07u+KtrIxybR9TN1n53oN/vqKkrQ1Ofsk0Y0JhC4 qBxEVWrN7tJ68KAziwa2g1La4WqX2KDRA4TrPZQc/ZUL7+gUlLd9JaIBaMykdsN7PNih lGOkIpDpJeo0rweEKqaUuMvl+syyBUS7AEPcsvNtgDPD0yl5Hz/f1ByDS+D7Ffy5naFA +YNNPEVYDx8KOZgBz3cH8hPkiT2+C5kfERmLaJMlW9ZFZRmsoKtsvtpnPmrl7JBpns9m v0ZPtHeSn3WFw/kV5CPpW2poyJqJjtU+5/XCpfTaDnTmJuYhn7spnodZN91B5O6HNqfM Yw+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=SpKIT399rGq1I1QC390BsYTABD2G9zcdqGA5/lBv444=; b=KmauRISKIvlYmVpYLXPohbKZi6yECy5MlwcZb89/fb2GXjLrvibM7/bz5D1h6L9n2L jzEVQ7ZTOGrznwqQiUgIWa3nlz/l3s+fLMcGMArN7XjkCGl2Nmrh6pRJfxDknO9rYAZs s1jJDcxYPIyNJnIrnVip4jeqOMq+gFS8igTsrfLgTg1V8RJ8XlebFeMCv8OrRDav/ETi 7Sps19w/feriti31+KhJoY2wGCwu0APmHp+gI1qx6cEV6ADHahYUpy7TCt0EXPwSu5gi JvyF6j/gizT6DnrO2qUrDnYMWmK/vBw0rSxiU6UbmpFpp8OuKdpr1ehVOQysWVqaF9fB M4cg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l4si4405808ejr.744.2021.08.10.07.17.54; Tue, 10 Aug 2021 07:18:19 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240970AbhHJM6k (ORCPT + 99 others); Tue, 10 Aug 2021 08:58:40 -0400 Received: from verein.lst.de ([213.95.11.211]:36051 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239354AbhHJM6j (ORCPT ); Tue, 10 Aug 2021 08:58:39 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id BE33568B05; Tue, 10 Aug 2021 14:58:13 +0200 (CEST) Date: Tue, 10 Aug 2021 14:58:13 +0200 From: Christoph Hellwig To: Stephen Rothwell , Jens Axboe Cc: Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the block tree Message-ID: <20210810125813.GA9836@lst.de> References: <20210810203135.7eb7b01a@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210810203135.7eb7b01a@canb.auug.org.au> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch below fixes it. --- From 28be8f9a9da95d54b7fce80332bf2c62abfcdf73 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 10 Aug 2021 14:39:24 +0200 Subject: writeback: make the laptop_mode prototypes available unconditionally Fix the !CONFIG_BLOCK build after the recent cleanup. Fixes: 5ed964f8e54e ("mm: hide laptop_mode_wb_timer entirely behind the BDI API") Reported-by: Stephen Rothwell Signed-off-by: Christoph Hellwig --- include/linux/writeback.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 667e86cfbdcf..270677dc4f36 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h @@ -336,14 +336,9 @@ static inline void cgroup_writeback_umount(void) /* * mm/page-writeback.c */ -#ifdef CONFIG_BLOCK void laptop_io_completion(struct backing_dev_info *info); void laptop_sync_completion(void); -void laptop_mode_sync(struct work_struct *work); void laptop_mode_timer_fn(struct timer_list *t); -#else -static inline void laptop_sync_completion(void) { } -#endif bool node_dirty_ok(struct pglist_data *pgdat); int wb_domain_init(struct wb_domain *dom, gfp_t gfp); #ifdef CONFIG_CGROUP_WRITEBACK -- 2.30.2