compat_ioctl: block: handle BLKREPORTZONE/BLKRESETZONE
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 Nov 2019 10:28:22 +0000 (11:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2020 09:19:01 +0000 (10:19 +0100)
commita95d032abe875b7323c1698a64a7fa7aee157d4c
treebbac05efecf553b7c2ca42392f5e6b248671f35a
parentfc982b8fbd1022886534393dc71eaff08b659350
compat_ioctl: block: handle BLKREPORTZONE/BLKRESETZONE

commit 673bdf8ce0a387ef585c13b69a2676096c6edfe9 upstream.

These were added to blkdev_ioctl() but not blkdev_compat_ioctl,
so add them now.

Cc: <stable@vger.kernel.org> # v4.10+
Fixes: 3ed05a987e0f ("blk-zoned: implement ioctls")
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
block/compat_ioctl.c