summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2020-12-05 01:21:03 +0300
committerMike Snitzer <snitzer@redhat.com>2020-12-05 01:27:42 +0300
commit65f33b35722952fa076811d5686bfd8a611a80fa (patch)
tree0ea0faecf593a44ee9f9bac012dfab2a52d85b2e /arch
parentbde3808bc8c2741ad3d804f84720409aee0c2972 (diff)
downloadlinux-65f33b35722952fa076811d5686bfd8a611a80fa.tar.xz
block: fix incorrect branching in blk_max_size_offset()
If non-zero 'chunk_sectors' is passed in to blk_max_size_offset() that override will be incorrectly ignored. Old blk_max_size_offset() branching, prior to commit 3ee16db390b4, must be used only if passed 'chunk_sectors' override is zero. Fixes: 3ee16db390b4 ("dm: fix IO splitting") Cc: stable@vger.kernel.org # 5.9 Reported-by: John Dorminy <jdorminy@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions