summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorwang di2016-07-21 22:44:05 -0400
committerGreg Kroah-Hartman2016-08-15 18:31:06 +0200
commitfee8cc87512ff3835093392656bcaa140c479709 (patch)
tree1eaa7913bfe0350b6c3d99ce45e4e8247d63f3d4 /tools/perf/scripts/python
parentfb659ca1a6ef6a952da1af50a63210e8cfb6daca (diff)
staging: lustre: llite: handle done flags differently in ll_dir_read
Invert the done flag test to reduce the code indentation. If done is true release the page and break out of the while loop. 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: Jinshan Xiong <jinshan.xiong@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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions