aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorGuoqing Jiang <[email protected]>2020-07-28 10:01:43 +0000
committerSong Liu <[email protected]>2020-08-03 06:03:52 +0000
commit3a31cf3d210f85d57fd302d83514832ebacb3ca7 (patch)
tree36dcc6dec700e87b5e7df12d361e9b17345f778b /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentraid5-cache: hold spinlock instead of mutex in r5c_journal_mode_show (diff)
downloadkernel-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/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions