diff options
| author | Guoqing Jiang <[email protected]> | 2020-07-28 10:01:43 +0000 |
|---|---|---|
| committer | Song Liu <[email protected]> | 2020-08-03 06:03:52 +0000 |
| commit | 3a31cf3d210f85d57fd302d83514832ebacb3ca7 (patch) | |
| tree | 36dcc6dec700e87b5e7df12d361e9b17345f778b /drivers/fpga/xilinx-spi.c | |
| parent | raid5-cache: hold spinlock instead of mutex in r5c_journal_mode_show (diff) | |
| download | kernel-3a31cf3d210f85d57fd302d83514832ebacb3ca7.tar.gz kernel-3a31cf3d210f85d57fd302d83514832ebacb3ca7.zip | |
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 <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions
