From patchwork Tue Dec 19 03:35:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10122165 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A2025603B5 for ; Tue, 19 Dec 2017 03:36:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 91ACB28E38 for ; Tue, 19 Dec 2017 03:36:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86AE228F08; Tue, 19 Dec 2017 03:36:29 +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=-6.9 required=2.0 tests=BAYES_00,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 EF51628E38 for ; Tue, 19 Dec 2017 03:36:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937819AbdLSDgS (ORCPT ); Mon, 18 Dec 2017 22:36:18 -0500 Received: from mga03.intel.com ([134.134.136.65]:53239 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934137AbdLSDgP (ORCPT ); Mon, 18 Dec 2017 22:36:15 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Dec 2017 19:36:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,424,1508828400"; d="scan'208";a="3828703" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga007.jf.intel.com with ESMTP; 18 Dec 2017 19:36:13 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1eR8nM-0008cE-4b; Tue, 19 Dec 2017 11:42:20 +0800 Date: Tue, 19 Dec 2017 11:35:27 +0800 From: kbuild test robot To: Tejun Heo Cc: kbuild-all@01.org, linux-btrfs@vger.kernel.org, Chris Mason , Chris Mason , Jan Kara Subject: [RFC PATCH btrfs] buffer_head: create_bh_bio() can be static Message-ID: <20171219033527.GA11542@lkp-wsm-ep2> References: <201712191101.m5t8a2s4%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201712191101.m5t8a2s4%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 61b4603b8338 ("buffer_head: separate out create_bh_bio() from submit_bh_wbc()") Signed-off-by: Fengguang Wu --- buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/buffer.c b/fs/buffer.c index eb15599..b793f6d 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -3055,8 +3055,8 @@ void guard_bio_eod(int op, struct bio *bio) } } -struct bio *create_bh_bio(int op, int op_flags, struct buffer_head *bh, - enum rw_hint write_hint) +static struct bio *create_bh_bio(int op, int op_flags, struct buffer_head *bh, + enum rw_hint write_hint) { struct bio *bio;