From patchwork Fri Aug 3 16:02:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10555257 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 788A213BF for ; Fri, 3 Aug 2018 16:03:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 655ED2BE23 for ; Fri, 3 Aug 2018 16:03:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 59A4C2BE6B; Fri, 3 Aug 2018 16:03:31 +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=-7.9 required=2.0 tests=BAYES_00,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 109952BE23 for ; Fri, 3 Aug 2018 16:03:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727573AbeHCSAY (ORCPT ); Fri, 3 Aug 2018 14:00:24 -0400 Received: from mga18.intel.com ([134.134.136.126]:10696 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727171AbeHCSAY (ORCPT ); Fri, 3 Aug 2018 14:00:24 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Aug 2018 09:03:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,439,1526367600"; d="scan'208";a="78502210" Received: from bee.sh.intel.com (HELO lkp-server01) ([10.239.97.14]) by orsmga001.jf.intel.com with ESMTP; 03 Aug 2018 09:02:53 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1flcXS-000ISU-Gm; Sat, 04 Aug 2018 00:02:50 +0800 Date: Sat, 4 Aug 2018 00:02:43 +0800 From: kbuild test robot To: Chengguang Xu Cc: kbuild-all@01.org, ceph-devel@vger.kernel.org, "Yan, Zheng" Subject: [RFC PATCH ceph-client] ceph: __ceph_unreserve_caps() can be static Message-ID: <20180803160243.GA40617@lkp-hsx03> References: <201808040015.o55B8xXO%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201808040015.o55B8xXO%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 9f5982aad6c0 ("ceph: introduce a helper for reducing duplicated code") Signed-off-by: kbuild test robot --- caps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" 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/ceph/caps.c b/fs/ceph/caps.c index a3c0dbf..138e28b 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c @@ -156,7 +156,7 @@ void ceph_adjust_min_caps(struct ceph_mds_client *mdsc, int delta) spin_unlock(&mdsc->caps_list_lock); } -void __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) +static void __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) { struct ceph_cap *cap; int i;