summaryrefslogtreecommitdiff
path: root/net/ceph
diff options
context:
space:
mode:
authorWei Yongjun <weiyj.lk@gmail.com>2016-07-30 03:37:31 +0300
committerIlya Dryomov <idryomov@gmail.com>2016-08-08 22:41:42 +0300
commitf52ec33cbd848632559c87c9305a70fb6eb97f18 (patch)
treefa26082665041788ab44596dbfec01487712ca20 /net/ceph
parentc22e853a2ed19321d00c1eae339ffdc4f5e7757e (diff)
downloadlinux-f52ec33cbd848632559c87c9305a70fb6eb97f18.tar.xz
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')
-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;