From patchwork Mon Jun 21 12:24:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matthew Wilcox (Oracle)" X-Patchwork-Id: 12334695 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A51D1C4743C for ; Mon, 21 Jun 2021 12:24:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7898861042 for ; Mon, 21 Jun 2021 12:24:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229651AbhFUM0q (ORCPT ); Mon, 21 Jun 2021 08:26:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229623AbhFUM0p (ORCPT ); Mon, 21 Jun 2021 08:26:45 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CC87C061574; Mon, 21 Jun 2021 05:24:31 -0700 (PDT) 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=9NgE+CsPzZsmK3YT9xKHoQr/hc5J5ijnpwLPHcf0gwc=; b=qLMJjFqo51thruc5kQ5MjEbPe6 iFS3gwgzP5eUHLOvtTSBWXKEIVrlehpZUaBnXwEaWPvCLJPVTg6xZ1Ga38e6aUNQ2Zafre30OkxMj 9DgU/ksQZya0iRzCVAnPzsNehuqMCV5rr1iotriF+txyR59XO81k4id+iw7/1C7CRwdgR+SCZzQBX 5QwHDG2cdiZ6ZsbGXYRO1gCejyGl3cCdn2KvJmaho0Jr3OnFMiq8gKqO7TDVoGtzKczpzNuC7ydEN P3qEBMJ/QODFD6/i8foEVg4aFy0YRcJNU+Y2srd3cOO0SLxFSxmleU+RcqXbxatrSsISYQ+Qxonjp Qvs04WGg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1lvIyJ-00D4u7-QG; Mon, 21 Jun 2021 12:24:14 +0000 From: "Matthew Wilcox (Oracle)" To: Ming Lei , Jens Axboe , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Cc: "Matthew Wilcox (Oracle)" Subject: [PATCH] block: Include mm_types.h instead of mm.h Date: Mon, 21 Jun 2021 13:24:07 +0100 Message-Id: <20210621122407.3116975-1-willy@infradead.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org There's no need to include all of mm.h in bvec.h. It only needs a few things like the definition of struct page, PAGE_SIZE, PAGE_MASK and so on, all of which are provided by mm_types.h. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Bart Van Assche --- include/linux/bvec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/bvec.h b/include/linux/bvec.h index ff832e698efb..a0f3ccc09aba 100644 --- a/include/linux/bvec.h +++ b/include/linux/bvec.h @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include struct page;