[sheepdog] [PATCH v2 2/2] sockfd cache: fix a comment typo

Liu Yuan namei.unix at gmail.com
Tue Jul 24 03:35:11 CEST 2012


From: Liu Yuan <tailai.ly at taobao.com>


Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 sheep/sockfd_cache.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sheep/sockfd_cache.c b/sheep/sockfd_cache.c
index aa90299..0815cfe 100644
--- a/sheep/sockfd_cache.c
+++ b/sheep/sockfd_cache.c
@@ -325,7 +325,7 @@ static void sockfd_cache_put(struct node_id *nid, int idx)
  *
  * Try to get a 'long' FD as best, which is cached and never closed. If no FD
  * available, we return a 'short' FD which is supposed to be closed by
- * sheep_get_sockput().
+ * sheep_put_sockfd().
  *
  * ret_idx is opaque to the caller, -1 indicates it is a short FD.
  */
-- 
1.7.10.2




More information about the sheepdog mailing list