Message ID | 20230131050132.2627124-1-willy@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2565122wrn; Mon, 30 Jan 2023 21:10:51 -0800 (PST) X-Google-Smtp-Source: AK7set/g93X26mEkLK7VeTwfgLNv7fRW42zjIjl3qwQX3/ZyMnfhpsAPs83WKVrfOcEKxrwlrEpH X-Received: by 2002:a17:906:3991:b0:878:46ed:6a29 with SMTP id h17-20020a170906399100b0087846ed6a29mr22945884eje.3.1675141850909; Mon, 30 Jan 2023 21:10:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675141850; cv=none; d=google.com; s=arc-20160816; b=Xpo8ABgJlAN9pYphl+HYly/dWG4CVbyutyqq4Jq8VOifkTzhT9g/TNeZzXAGE2cHz7 45z9c/DcTcwYTM0CorDHHt2oKKgt2PvoY9sDPx81f0q6RaT6BUh5Qw+2TdgQMWF+R/A4 NPmV4PAZpCaAFyb14uEsXHnsTjuFjIiFiZXCCZfwRFYiDr1CTfjduWS6vxtV6BbIy2j9 tk9lo8dUks9tWmfTQfGRcqAyllPs8kUGFWQgrNBzF+AL+6MbWxd35Yb6w3OLVjDMdIvw r6nwl0VG9oL8dQH9zN9vjHsDTmypyjNjX/BsS5yktRghBvtxLJJVfKo7HPE4/xF9oWs+ 8ilg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=zUDyjWaGRtgYGdvYrnVq8nWDrZ+yfRpHok4S5KW+urg=; b=qS2rFPQ0Y1gSU8ZrUO9fiatr07VGDXWgo5VPekiPCMm8v3yLmqFnvVsNgVt9rc7tE6 4ZMXzjDU+f9EumlxS14eBhkWQ1ZXr3D25y/Qsq/zp0RS6niwU6k2aYS0PZkS2BHx9g9i 5E//e/P7eMRcCkDjGBDJN4MCQqGIa01Vat9OCwyPYQxqLvPDwB6QIWVTnuSee+pcefJo QrOv/f1fFYr51JlQfPAPbqb5mORZANQfW6l5DhY/QWxlDUd3lf/39UM9nNF2NYhp4bqs NymKD4dSIN0KbpaDdnAMuQUnbDFdq7iOzsccwZMJCLbN7D6v7nMwYyO5Fg84nDcF5VgY XAtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vyCtK2dO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wc23-20020a170907125700b008785393ba3dsi17008415ejb.59.2023.01.30.21.10.27; Mon, 30 Jan 2023 21:10:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vyCtK2dO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229903AbjAaFBo (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Tue, 31 Jan 2023 00:01:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbjAaFBj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 31 Jan 2023 00:01:39 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34A58241DF; Mon, 30 Jan 2023 21:01:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=zUDyjWaGRtgYGdvYrnVq8nWDrZ+yfRpHok4S5KW+urg=; b=vyCtK2dO30DXQZldkQeVMGXe8Q WAta1+efMkMtiTpf7O+Z+RRXriDkFhYc3v73jQFUvEtUMTJ5aLGsnYCM8bUax3+nkFKfoXUPrHmyH Y6nn+arRohrLgsWjsCZ1Lyc7i3yZZ8Pb7VDcbzRoDaHOOu+6RiH2N6SxvcTNkL9gAcnK5kxdhSgLn b9JQ92lfT2bZA3nqASX3iNqSqLOjzxDnNyiNK4aGASHQs7btcri4MRuVzrgchkgrNAmI3PxEaei21 Iy/9WeDIFt74JaAILzqyv+x62bVtxmS3Zey/Eq6uNLZF09GsSdw8XXRgtnW6fuwoHwBA3ljavnfge JyNRhN6w==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMilz-00B1Tq-Af; Tue, 31 Jan 2023 05:01:35 +0000 From: "Matthew Wilcox (Oracle)" <willy@infradead.org> To: linux-kernel@vger.kernel.org, Jens Axboe <axboe@kernel.dk>, linux-block@vger.kernel.org Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org> Subject: [PATCH] block: Remove mm.h from bvec.h Date: Tue, 31 Jan 2023 05:01:32 +0000 Message-Id: <20230131050132.2627124-1-willy@infradead.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756513541526948770?= X-GMAIL-MSGID: =?utf-8?q?1756513541526948770?= |
Series |
block: Remove mm.h from bvec.h
|
|
Commit Message
Matthew Wilcox
Jan. 31, 2023, 5:01 a.m. UTC
This was originally added for the definition of nth_page(), but we no
longer use nth_page() in this header, so we can drop the heavyweight
mm.h now.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
---
include/linux/bvec.h | 1 -
1 file changed, 1 deletion(-)
Comments
On Tue, Jan 31, 2023 at 05:01:32AM +0000, Matthew Wilcox (Oracle) wrote: > This was originally added for the definition of nth_page(), but we no > longer use nth_page() in this header, so we can drop the heavyweight > mm.h now. I'm for this, but I'd really prefer to have this survive the build bot for a few days and random builds as there could be users that are missing the explicit include by now. And someone the buildbot seems down or overloaded lately :(
On Tue, 31 Jan 2023 05:01:32 +0000, Matthew Wilcox (Oracle) wrote: > This was originally added for the definition of nth_page(), but we no > longer use nth_page() in this header, so we can drop the heavyweight > mm.h now. > > Applied, thanks! [1/1] block: Remove mm.h from bvec.h commit: 2d97930d74b12467fd5f48d8560e48c1cf5edcb1 Best regards,
diff --git a/include/linux/bvec.h b/include/linux/bvec.h index 35c25dff651a..7939b345ee7f 100644 --- a/include/linux/bvec.h +++ b/include/linux/bvec.h @@ -12,7 +12,6 @@ #include <linux/errno.h> #include <linux/limits.h> #include <linux/minmax.h> -#include <linux/mm.h> #include <linux/types.h> struct page;