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

Signed-off-by: MORITA Kazutaka <morita.kazut...@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 98b916f..ee23588 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

-- 
sheepdog mailing list
sheepdog@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to