aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorwang di <di.wang@intel.com>2016-07-21 22:44:03 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-15 18:31:06 +0200
commitb1f048c147bb192b25e37591cfc8855aa3c34d38 (patch)
tree04620e8535831eb683e2ce71364ae6f8d22f1698 /scripts/stackusage
parentstaging: lustre: llite: remove debug message in ll_dir_read (diff)
staging: lustre: llite: reduce indent in ll_dir_read
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 <di.wang@intel.com> Reviewed-on: http://review.whamcloud.com/10761 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4906 Reviewed-by: John L. Hammond <john.hammond@intel.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions