[sheepdog] [PATCH v2 02/11] sheep: fix comment of put_vnode_info

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Apr 19 09:14:51 CEST 2013


We can call this function in the worker threads because urcu atomics
guard vnode_info.

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 sheep/group.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/sheep/group.c b/sheep/group.c
index 050d0bd..f802756 100644
--- a/sheep/group.c
+++ b/sheep/group.c
@@ -148,11 +148,7 @@ struct vnode_info *get_vnode_info(void)
 	return grab_vnode_info(current_vnode_info);
 }
 
-/*
- * Release a reference to the current vnode information.
- *
- * Must be called from the main thread.
- */
+/* Release a reference to the current vnode information. */
 void put_vnode_info(struct vnode_info *vnode_info)
 {
 	if (vnode_info) {
-- 
1.8.1.3.566.gaa39828




More information about the sheepdog mailing list