diff options
author | Soheil Hassas Yeganeh <soheil@google.com> | 2020-12-18 14:02:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-12-19 11:18:38 -0800 |
commit | 00b27634bc471e0198f93d48694171121af2e159 (patch) | |
tree | ea67bbb4f3ff5eff143c79603990dd7d6338f0a8 /fs/ufs/cylinder.c | |
parent | e8c85328b1e88f4ee7f84a1fdbff2f2c7965e026 (diff) | |
download | linux-00b27634bc471e0198f93d48694171121af2e159.tar.bz2 |
epoll: replace gotos with a proper loop
The existing loop is pointless, and the labels make it really hard to
follow the structure.
Replace that control structure with a simple loop that returns when there
are new events, there is a signal, or the thread has timed out.
Link: https://lkml.kernel.org/r/20201106231635.3528496-8-soheil.kdev@gmail.com
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Khazhismel Kumykov <khazhy@google.com>
Cc: Guantao Liu <guantaol@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ufs/cylinder.c')
0 files changed, 0 insertions, 0 deletions