mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
c22e853a2e
commit
f52ec33cbd
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ static void complete_generic_request(struct ceph_mon_generic_request *req)
|
||||||
put_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_client *monc = req->monc;
|
||||||
struct ceph_mon_generic_request *lookup_req;
|
struct ceph_mon_generic_request *lookup_req;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue