diff options
author | Guoqing Jiang <guoqing.jiang@cloud.ionos.com> | 2020-07-28 12:01:43 +0200 |
---|---|---|
committer | Song Liu <songliubraving@fb.com> | 2020-08-02 23:03:52 -0700 |
commit | 3a31cf3d210f85d57fd302d83514832ebacb3ca7 (patch) | |
tree | 36dcc6dec700e87b5e7df12d361e9b17345f778b /lib/test_bitmap.c | |
parent | 01b5d32a57fe83820d014485a4c41965bc3b5ce4 (diff) |
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: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions