]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
compat_ioctl: block: handle BLKREPORTZONE/BLKRESETZONE
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 Nov 2019 10:28:22 +0000 (11:28 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 29 Jan 2020 04:47:27 +0000 (23:47 -0500)
commit852c4766e8baf1ec5bfb6e4d8a047c35f75647dd
treef63abd3b247fb92c6deb273e5042b8e5b77bb777
parentca7147e06b5a2a1df5c753b08f56c62162ef71a5
compat_ioctl: block: handle BLKREPORTZONE/BLKRESETZONE

BugLink: https://bugs.launchpad.net/bugs/1860602
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
block/compat_ioctl.c