diff mbox series

[RFC,ceph-client] ceph: __ceph_unreserve_caps() can be static

Message ID 20180803160243.GA40617@lkp-hsx03 (mailing list archive)
State New, archived
Headers show
Series [RFC,ceph-client] ceph: __ceph_unreserve_caps() can be static | expand

Commit Message

Fengguang Wu Aug. 3, 2018, 4:02 p.m. UTC
Fixes: 9f5982aad6c0 ("ceph: introduce a helper for reducing duplicated code")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
 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 mbox series

Patch

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;