pkarashchenko commented on code in PR #9798:
URL: https://github.com/apache/nuttx/pull/9798#discussion_r1263061979


##########
fs/vfs/fs_epoll.c:
##########
@@ -246,6 +246,8 @@ static int epoll_do_create(int size, int flags)
       list_add_tail(&eph->free, &epn[i].node);
     }
 
+  eph->crefs++;

Review Comment:
   just a question: why `eph->crefs++;` and not `eph->crefs = 1;`?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to