From mboxrd@z Thu Jan 1 00:00:00 1970 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=-10.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, 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 987E3C43387 for ; Thu, 10 Jan 2019 20:41:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 68AA42173B for ; Thu, 10 Jan 2019 20:41:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547152908; bh=JZ6jpPVvu0iju05iVcSThLZTPgB6IQvubxWwM5FKkX8=; h=From:To:Subject:Date:List-ID:From; b=k8vCQrcmZf01nS8SK0hdT/Y7ByVf4UJ6HVWqfdqpXA5L32MZVah9ljM08wrX54YWK ShXjFiRD9SlAyUE9XJZVOi0QYuNrhXPq4mImCGSBjKWUQiMnmXALAB/x65rgFMDoaZ 40ddSInZ+rodPpQK//mzQDq4xDrM7eh7NTJMtj/4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730246AbfAJUls (ORCPT ); Thu, 10 Jan 2019 15:41:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:42780 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729743AbfAJUlr (ORCPT ); Thu, 10 Jan 2019 15:41:47 -0500 Received: from ebiggers-linuxstation.mtv.corp.google.com (unknown [104.132.1.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 34279213F2; Thu, 10 Jan 2019 20:41:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547152907; bh=JZ6jpPVvu0iju05iVcSThLZTPgB6IQvubxWwM5FKkX8=; h=From:To:Subject:Date:From; b=z+Uo1EBsN6G3BYiYoPHuINuuu1H6/C3dvBDgrs46ARgTa/xVSNRHKdYJmT63S+BMI 7FI6FAZA2k8EX5i2Ed/bLaf9Lqp7ehyBAPxJ4IUO7b3OdJZLwX09Ov3AEUrpHTs8SX U95T8nEMX8EqCYXh4quzZR9DXJIWmxrx3RhM7u84= From: Eric Biggers To: linux-fsdevel@vger.kernel.org, Alexander Viro Subject: [PATCH RESEND] fs/direct-io.c: include fs/internal.h for sb_init_dio_done_wq() Date: Thu, 10 Jan 2019 12:41:43 -0800 Message-Id: <20190110204143.120023-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.20.1.97.g81188d93c3-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org From: Eric Biggers sb_init_dio_done_wq() is defined in fs/direct-io.c and declared in fs/internal.h, but the declaration isn't included at the point of the definition. Include the header to enforce that the definition matches the declaration. This addresses a gcc warning when -Wmissing-prototypes is enabled. Signed-off-by: Eric Biggers --- fs/direct-io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/direct-io.c b/fs/direct-io.c index dbc1a1f080ceb..42e497e3a39a9 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -37,6 +37,7 @@ #include #include #include +#include "internal.h" /* * How many user pages to map in one call to get_user_pages(). This determines -- 2.20.1.97.g81188d93c3-goog