From: tang.jin Date: Sat, 1 Apr 2017 08:44:21 +0000 (+0800) Subject: osd: fix comments about pg refs and lock X-Git-Tag: v12.0.2~221^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2f78a100fe88dd735d3e7529fda40e0d838340c0;p=ceph.git osd: fix comments about pg refs and lock Signed-off-by: tang.jin --- diff --git a/src/osd/PG.h b/src/osd/PG.h index e739d70405a1..6a8ef7fcd9b0 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -242,7 +242,7 @@ protected: * lock() should be called before doing anything. * get() should be called on pointer copy (to another thread, etc.). * put() should be called on destruction of some previously copied pointer. - * put_unlock() when done with the current pointer (_most common_). + * unlock() when done with the current pointer (_most common_). */ mutable Mutex _lock; std::atomic_uint ref{0};