summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2017-11-20 09:17:00 +0300
committerShaohua Li <shli@fb.com>2017-12-01 22:27:32 +0300
commitff35f58e8f8eb520367879a0ccc6f2ec4b62b17b (patch)
tree9a77e1a2d8777399694a84896695057f8f97267a /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parentaff69d89bdebc39235cddb4445371eb979b49685 (diff)
downloadlinux-ff35f58e8f8eb520367879a0ccc6f2ec4b62b17b.tar.xz
md/r5cache: move mddev_lock() out of r5c_journal_mode_set()
r5c_journal_mode_set() is called by r5c_journal_mode_store() and raid_ctr() in dm-raid. We don't need mddev_lock() when calling from raid_ctr(). This patch fixes this by moves the mddev_lock() to r5c_journal_mode_store(). Cc: stable@vger.kernel.org (v4.13+) Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions