Skip to content

Commit

Permalink
libceph: use mon_client.c/put_generic_request() more
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Dryomov <[email protected]>
  • Loading branch information
idryomov committed Feb 19, 2015
1 parent 7a6fdeb commit f646912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/ceph/mon_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ int ceph_monc_do_statfs(struct ceph_mon_client *monc, struct ceph_statfs *buf)
err = do_generic_request(monc, req);

out:
kref_put(&req->kref, release_generic_request);
put_generic_request(req);
return err;
}
EXPORT_SYMBOL(ceph_monc_do_statfs);
Expand Down Expand Up @@ -699,7 +699,7 @@ int ceph_monc_do_get_version(struct ceph_mon_client *monc, const char *what,

mutex_unlock(&monc->mutex);
out:
kref_put(&req->kref, release_generic_request);
put_generic_request(req);
return err;
}
EXPORT_SYMBOL(ceph_monc_do_get_version);
Expand Down

0 comments on commit f646912

Please sign in to comment.