aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorLogan Gunthorpe <[email protected]>2022-06-16 13:19:32 -0600
committerJens Axboe <[email protected]>2022-08-02 17:14:40 -0600
commita8bb304ca5b8c833d4874b322a6ef993bec98780 (patch)
treecfcc870a9ec98a2536ba76b0b093ab28f539db04 /scripts/stackusage
parent6e3f50d30af847bebce072182bd735e90a294c6a (diff)
md/raid5: Factor out ahead_of_reshape() function
There are a few uses of an ugly ternary operator in raid5_make_request() to check if a sector is a head of a reshape sector. Factor this out into a simple helper called ahead_of_reshape(). No functional changes intended. Suggested-by: Christoph Hellwig <[email protected]> Signed-off-by: Logan Gunthorpe <[email protected]> Reviewed-by: Christoph Hellwig <[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