]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: fix typo in docs
authorJosh Durgin <jdurgin@redhat.com>
Sat, 24 Jan 2015 21:02:25 +0000 (13:02 -0800)
committerJosh Durgin <jdurgin@redhat.com>
Sat, 24 Jan 2015 23:39:20 +0000 (15:39 -0800)
There is no rados_destroy(), only rados_ioctx_destroy().

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/include/rados/librados.h

index 9a35307f2b33a6f0d523dec733108ba4eed61f94..c0c18bf3a9f6cb429fcda504298a6883a5c430aa 100644 (file)
@@ -661,7 +661,7 @@ CEPH_RADOS_API rados_config_t rados_ioctx_cct(rados_ioctx_t io);
 /**
  * Get the cluster handle used by this rados_ioctx_t
  * Note that this is a weak reference, and should not
- * be destroyed via rados_destroy().
+ * be destroyed via rados_shutdown().
  *
  * @param io the io context
  * @returns the cluster handle for this io context