aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorShaohua Li <[email protected]>2018-08-29 18:05:42 +0000
committerShaohua Li <[email protected]>2018-09-01 00:38:09 +0000
commite254de6bcf3f5b6e78a92ac95fb91acef8adfe1a (patch)
tree28d3936768e8425494ea69815bc62e6fa4608e1a /arch/powerpc/lib/code-patching.c
parentMerge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm6... (diff)
downloadkernel-e254de6bcf3f5b6e78a92ac95fb91acef8adfe1a.tar.gz
kernel-e254de6bcf3f5b6e78a92ac95fb91acef8adfe1a.zip
md/raid5-cache: disable reshape completely
We don't support reshape yet if an array supports log device. Previously we determine the fact by checking ->log. However, ->log could be NULL after a log device is removed, but the array is still marked to support log device. Don't allow reshape in this case too. User can disable log device support by setting 'consistency_policy' to 'resync' then do reshape. Reported-by: Xiao Ni <[email protected]> Tested-by: Xiao Ni <[email protected]> Signed-off-by: Shaohua Li <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions