From patchwork Thu Nov 15 00:11:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 10683375 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8E557139B for ; Thu, 15 Nov 2018 00:11:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7CE162BF93 for ; Thu, 15 Nov 2018 00:11:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B5832BF9C; Thu, 15 Nov 2018 00:11:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 23ED22BF93 for ; Thu, 15 Nov 2018 00:11:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726240AbeKOKRI (ORCPT ); Thu, 15 Nov 2018 05:17:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:52104 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726080AbeKOKRH (ORCPT ); Thu, 15 Nov 2018 05:17:07 -0500 Received: from ebiggers.mtv.corp.google.com (unknown [104.132.1.85]) (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 D6F1221582; Thu, 15 Nov 2018 00:11:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542240697; bh=xtPz9d3flFt4Ow2y2ShGXxCTIv3i9M800r9TM2vmn+4=; h=From:To:Subject:Date:From; b=egjPp0266RER2aUELOlFIRlIj4AyyYDR6ybkogIkszgDBbW74VkEL8NV00Ivl6O4y F9haplkON2AH/LN174Wp7K/9YfJ5M0BhzoGwNGV1mlVF7FUPgdIjUD+e5pfzCyaRUP zI7/WbFEYPfw+fmzdOARq0d/RaeV3ieqVilyfYaA= From: Eric Biggers To: linux-fsdevel@vger.kernel.org, Alexander Viro Subject: [PATCH] fs/direct-io.c: include fs/internal.h for sb_init_dio_done_wq() Date: Wed, 14 Nov 2018 16:11:06 -0800 Message-Id: <20181115001106.47979-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.19.1.930.g4563a0d9d0-goog MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 722d17c88edb9..6dea55991e530 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