From 2f78a100fe88dd735d3e7529fda40e0d838340c0 Mon Sep 17 00:00:00 2001 From: "tang.jin" Date: Sat, 1 Apr 2017 16:44:21 +0800 Subject: [PATCH] osd: fix comments about pg refs and lock Signed-off-by: tang.jin --- src/osd/PG.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; -- 2.47.3