fs: cleanup do_pollfd
authorChristoph Hellwig <hch@lst.de>
Mon, 5 Mar 2018 15:15:25 +0000 (07:15 -0800)
committerChristoph Hellwig <hch@lst.de>
Sat, 26 May 2018 07:16:44 +0000 (09:16 +0200)
commita0f8dcfc607d8d113090ff36eee2ee406463bb0e
treeb42dc59a8984807a86041faeb088523439541b99
parent8f546ae1fc5ce8396827d4868c7eee1f1cc6947a
fs: cleanup do_pollfd

Use straightline code with failure handling gotos instead of a lot
of nested conditionals.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/select.c