dm zoned: assign max_io_len correctly
authorHou Tao <houtao1@huawei.com>
Mon, 15 Jun 2020 03:33:23 +0000 (11:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jul 2020 07:39:40 +0000 (09:39 +0200)
commiteae7bf13993ea919b319991d4491cffe45c4054d
tree97f0bbab85d19520c81f85d4228acf87c500dfa6
parent84524e70b668a83869f5d914436445cf89c25c56
dm zoned: assign max_io_len correctly

commit 7b2377486767503d47265e4d487a63c651f6b55d upstream.

The unit of max_io_len is sector instead of byte (spotted through
code review), so fix it.

Fixes: 3b1a94c88b79 ("dm zoned: drive-managed zoned block device target")
Cc: stable@vger.kernel.org
Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-zoned-target.c