Skip to content
Commit 3a31cf3d authored by Guoqing Jiang's avatar Guoqing Jiang Committed by Song Liu
Browse files

raid5: don't duplicate code for different paths in handle_stripe



As we can see, R5_LOCKED is set and s.locked is increased whether
R5_ReWrite is set or not, so move it to common path.

Signed-off-by: default avatarGuoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: default avatarSong Liu <songliubraving@fb.com>
parent 01b5d32a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment