diff options
| author | wang di <[email protected]> | 2016-07-21 22:44:03 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-08-15 18:31:06 +0200 |
| commit | b1f048c147bb192b25e37591cfc8855aa3c34d38 (patch) | |
| tree | 04620e8535831eb683e2ce71364ae6f8d22f1698 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 0ddf80c1b97500e33c6efd79f0ea46fab9f3200e (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 <[email protected]>
Reviewed-on: http://review.whamcloud.com/10761
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4906
Reviewed-by: John L. Hammond <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions