summaryrefslogtreecommitdiffstats
path: root/net/ceph/mon_client.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyj.lk@gmail.com>2016-07-30 02:37:31 +0200
committerIlya Dryomov <idryomov@gmail.com>2016-08-08 21:41:42 +0200
commitf52ec33cbd848632559c87c9305a70fb6eb97f18 (patch)
treefa26082665041788ab44596dbfec01487712ca20 /net/ceph/mon_client.c
parentlibceph: fix return value check in alloc_msg_with_page_vector() (diff)
downloadlinux-f52ec33cbd848632559c87c9305a70fb6eb97f18.tar.xz
linux-f52ec33cbd848632559c87c9305a70fb6eb97f18.zip
libceph: make cancel_generic_request() static
Fixes the following sparse warning: net/ceph/mon_client.c:577:6: warning: symbol 'cancel_generic_request' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph/mon_client.c')
-rw-r--r--net/ceph/mon_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/mon_client.c b/net/ceph/mon_client.c
index c83326c5ba58..ef34a02719d7 100644
--- a/net/ceph/mon_client.c
+++ b/net/ceph/mon_client.c
@@ -574,7 +574,7 @@ static void complete_generic_request(struct ceph_mon_generic_request *req)
put_generic_request(req);
}
-void cancel_generic_request(struct ceph_mon_generic_request *req)
+static void cancel_generic_request(struct ceph_mon_generic_request *req)
{
struct ceph_mon_client *monc = req->monc;
struct ceph_mon_generic_request *lookup_req;