Commit f646912d authored by Ilya Dryomov's avatar Ilya Dryomov Committed by Ilya Dryomov

libceph: use mon_client.c/put_generic_request() more

Signed-off-by: default avatarIlya Dryomov <idryomov@redhat.com>
parent 7a6fdeb2
...@@ -610,7 +610,7 @@ int ceph_monc_do_statfs(struct ceph_mon_client *monc, struct ceph_statfs *buf) ...@@ -610,7 +610,7 @@ int ceph_monc_do_statfs(struct ceph_mon_client *monc, struct ceph_statfs *buf)
err = do_generic_request(monc, req); err = do_generic_request(monc, req);
out: out:
kref_put(&req->kref, release_generic_request); put_generic_request(req);
return err; return err;
} }
EXPORT_SYMBOL(ceph_monc_do_statfs); EXPORT_SYMBOL(ceph_monc_do_statfs);
...@@ -699,7 +699,7 @@ int ceph_monc_do_get_version(struct ceph_mon_client *monc, const char *what, ...@@ -699,7 +699,7 @@ int ceph_monc_do_get_version(struct ceph_mon_client *monc, const char *what,
mutex_unlock(&monc->mutex); mutex_unlock(&monc->mutex);
out: out:
kref_put(&req->kref, release_generic_request); put_generic_request(req);
return err; return err;
} }
EXPORT_SYMBOL(ceph_monc_do_get_version); EXPORT_SYMBOL(ceph_monc_do_get_version);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment