]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fix comments about pg refs and lock 14279/head
authortang.jin <tang.jin@istuary.com>
Sat, 1 Apr 2017 08:44:21 +0000 (16:44 +0800)
committertang.jin <tang.jin@istuary.com>
Sat, 1 Apr 2017 08:44:21 +0000 (16:44 +0800)
Signed-off-by: tang.jin <tang.jin@istuary.com>
src/osd/PG.h

index e739d70405a100512e58d403b71a60e9f44aad4a..6a8ef7fcd9b05b48f87a790054aec864960a7b5f 100644 (file)
@@ -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};