[PATCH 10/58] staging: lustre: llite: reduce indent in ll_dir_read

2016-07-21 Thread James Simmons
From: wang di Instead of making a large chunk of code conditional based on if a page is valid we reverse the page validity test and exit the loop if the page is invalid instead. This allows a section of code to reduce its indentation one level. Signed-off-by: wang di

[PATCH 10/58] staging: lustre: llite: reduce indent in ll_dir_read

2016-07-21 Thread James Simmons
From: wang di Instead of making a large chunk of code conditional based on if a page is valid we reverse the page validity test and exit the loop if the page is invalid instead. This allows a section of code to reduce its indentation one level. Signed-off-by: wang di Reviewed-on: