[PATCH v4 3/9] epoll: Extract ep_ctl_do

2015-03-09 Thread Fam Zheng
This is the common part from epoll_ctl implementation which will be shared with the new syscall. Signed-off-by: Fam Zheng --- fs/eventpoll.c | 26 ++ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 957d1d0..7909c88

[PATCH v4 3/9] epoll: Extract ep_ctl_do

2015-03-09 Thread Fam Zheng
This is the common part from epoll_ctl implementation which will be shared with the new syscall. Signed-off-by: Fam Zheng f...@redhat.com --- fs/eventpoll.c | 26 ++ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/fs/eventpoll.c b/fs/eventpoll.c index