diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-07-30 02:37:31 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-08-08 21:41:42 +0200 |
commit | f52ec33cbd848632559c87c9305a70fb6eb97f18 (patch) | |
tree | fa26082665041788ab44596dbfec01487712ca20 /net | |
parent | libceph: fix return value check in alloc_msg_with_page_vector() (diff) | |
download | linux-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')
-rw-r--r-- | net/ceph/mon_client.c | 2 |
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; |