diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ceph/mon_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ceph/mon_client.c b/net/ceph/mon_client.c index 02e105c6865f..2b3cf05e87b0 100644 --- a/net/ceph/mon_client.c +++ b/net/ceph/mon_client.c | |||
@@ -610,7 +610,7 @@ int ceph_monc_do_statfs(struct ceph_mon_client *monc, struct ceph_statfs *buf) | |||
610 | err = do_generic_request(monc, req); | 610 | err = do_generic_request(monc, req); |
611 | 611 | ||
612 | out: | 612 | out: |
613 | kref_put(&req->kref, release_generic_request); | 613 | put_generic_request(req); |
614 | return err; | 614 | return err; |
615 | } | 615 | } |
616 | EXPORT_SYMBOL(ceph_monc_do_statfs); | 616 | 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 | 699 | ||
700 | mutex_unlock(&monc->mutex); | 700 | mutex_unlock(&monc->mutex); |
701 | out: | 701 | out: |
702 | kref_put(&req->kref, release_generic_request); | 702 | put_generic_request(req); |
703 | return err; | 703 | return err; |
704 | } | 704 | } |
705 | EXPORT_SYMBOL(ceph_monc_do_get_version); | 705 | EXPORT_SYMBOL(ceph_monc_do_get_version); |