Re: [PATCH 02/28] fs: cleanup do_pollfd

2018-03-21 Thread Greg KH
On Wed, Mar 21, 2018 at 08:40:06AM +0100, Christoph Hellwig wrote: > Use straigline code with failure handling gotos instead of a lot "straightline"? :) > of nested conditionals. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Darrick J. Wong Reviewed-by: Greg Kroah-Hartman

[PATCH 02/28] fs: cleanup do_pollfd

2018-03-21 Thread Christoph Hellwig
Use straigline code with failure handling gotos instead of a lot of nested conditionals. Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong --- fs/select.c | 48 +++- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/fs/select