diff options
author | Jason Baron <jbaron@redhat.com> | 2012-04-25 16:01:47 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-04-25 21:26:33 -0700 |
commit | 13d518074a952d33d47c428419693f63389547e9 (patch) | |
tree | 75ccd438b6579840f51b96eed7a5e760e6caf2eb /mm/vmstat.c | |
parent | b1c12cbcd0a02527c180a862e8971e249d3b347d (diff) | |
download | linux-stable-13d518074a952d33d47c428419693f63389547e9.tar.gz linux-stable-13d518074a952d33d47c428419693f63389547e9.tar.bz2 linux-stable-13d518074a952d33d47c428419693f63389547e9.zip |
epoll: clear the tfile_check_list on -ELOOP
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 <jbaron@redhat.com>
Reported-by: Yurij M. Plotnikov <Yurij.Plotnikov@oktetlabs.ru>
Cc: Nelson Elhage <nelhage@nelhage.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Tested-by: Alexandra N. Kossovsky <Alexandra.Kossovsky@oktetlabs.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions