From: Jason Baron Date: Wed, 25 Apr 2012 23:01:47 +0000 (-0700) Subject: epoll: clear the tfile_check_list on -ELOOP X-Git-Tag: v3.2.24~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11a5b0b59b9b38e71fa45bd9739a6f4ffa8ce61a;p=pandora-kernel.git epoll: clear the tfile_check_list on -ELOOP commit 13d518074a952d33d47c428419693f63389547e9 upstream. An epoll_ctl(,EPOLL_CTL_ADD,,) operation can return '-ELOOP' to prevent circular epoll dependencies from being created. However, in that case we do not properly clear the 'tfile_check_list'. Thus, add a call to clear_tfile_check_list() for the -ELOOP case. Signed-off-by: Jason Baron Reported-by: Yurij M. Plotnikov Cc: Nelson Elhage Cc: Davide Libenzi Tested-by: Alexandra N. Kossovsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed