From patchwork Mon Dec 9 23:45:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 11281037 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BB8BA6C1 for ; Mon, 9 Dec 2019 23:48:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 99D6A20726 for ; Mon, 9 Dec 2019 23:48:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575935290; bh=eiCg70Fe6DYiNfInLEyxRDc52uH42sEFX1ZX66Kv0a4=; h=From:To:Cc:Subject:Date:List-ID:From; b=y5/DfzzVzJKc+Vuz6oehRBGVqMORQ8pp/d6Uf/bh+pVNBINEvplxuFser+BJ4M3BI 1Qlk/U+iGbJh30pwIlggMtdS329lpbDQl8PZO4U8cj5CcqMqjqvlgEmoI8vLW58hay M/eqM5txZ2TtGD5YMdvOARON9Ne+k6Bc+ClD0li0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727239AbfLIXsK (ORCPT ); Mon, 9 Dec 2019 18:48:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:52418 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726592AbfLIXsK (ORCPT ); Mon, 9 Dec 2019 18:48:10 -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 65596206D5; Mon, 9 Dec 2019 23:48:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575935289; bh=eiCg70Fe6DYiNfInLEyxRDc52uH42sEFX1ZX66Kv0a4=; h=From:To:Cc:Subject:Date:From; b=DGQ8vlaICxMlI0kCOZUfYp6yfFgNtg2UaPsagByv+pNhbnLYGSiV9Th8hXvF6jlro rdveNUET3L9mP91kDAFKwspkvEVJycsOnR8EVP88QxzyqmKM2WzEowToSomXw4la1F 5Vtq9pzDth53VeZkmlHnkOc43ENy6x5aDLFW44OE= From: Eric Biggers To: Andrew Morton Cc: Alexander Viro , linux-fsdevel@vger.kernel.org Subject: [PATCH] fs/direct-io.c: include fs/internal.h for missing prototype Date: Mon, 9 Dec 2019 15:45:44 -0800 Message-Id: <20191209234544.128302-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.24.0.393.g34dc348eaf-goog MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org From: Eric Biggers Include fs/internal.h to address the following 'sparse' warning: fs/direct-io.c:591:5: warning: symbol 'sb_init_dio_done_wq' was not declared. Should it be static? Signed-off-by: Eric Biggers Reviewed-by: Jan Kara --- Hi Andrew, please consider applying this straightforward cleanup. This has been sent to Al four times with no response. fs/direct-io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/direct-io.c b/fs/direct-io.c index 0ec4f270139f6..00b4d15bb811a 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -39,6 +39,8 @@ #include #include +#include "internal.h" + /* * How many user pages to map in one call to get_user_pages(). This determines * the size of a structure in the slab cache