[PATCH 2/2] fs/eventpoll: simplify ep_is_linked callers

2018-07-26 Thread Davidlohr Bueso
Instead of having each caller pass the rdllink explicitly, just have ep_is_linked() pass it while the callers just need the epi pointer. This helper is all about the rdllink, and this change, furthermore, improves the function's self documentation. Signed-off-by: Davidlohr Bueso ---

[PATCH 2/2] fs/eventpoll: simplify ep_is_linked callers

2018-07-26 Thread Davidlohr Bueso
Instead of having each caller pass the rdllink explicitly, just have ep_is_linked() pass it while the callers just need the epi pointer. This helper is all about the rdllink, and this change, furthermore, improves the function's self documentation. Signed-off-by: Davidlohr Bueso ---