aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorLogan Gunthorpe <[email protected]>2022-06-16 13:19:33 -0600
committerJens Axboe <[email protected]>2022-08-02 17:14:40 -0600
commit27fb701046c39879411ff064fb2c9ca8d02d89df (patch)
tree5d9d8ef651bec9b5b57752da7e07e5e779d984db /scripts/stackusage
parenta8bb304ca5b8c833d4874b322a6ef993bec98780 (diff)
md/raid5: Refactor raid5_make_request loop
Break immediately if raid5_get_active_stripe() returns NULL and deindent the rest of the loop. Annotate this check with an unlikely(). This makes the code easier to read and reduces the indentation level. No functional changes intended. Signed-off-by: Logan Gunthorpe <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Guoqing Jiang <[email protected]> Signed-off-by: Song Liu <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions