]> git.baikalelectronics.ru Git - kernel.git/commit
compat_ioctl: block: handle BLKGETZONESZ/BLKGETNRZONES
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 Nov 2019 10:28:22 +0000 (11:28 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 21 Dec 2019 14:26:41 +0000 (07:26 -0700)
commitd4c862dc698bc308e30c086d426a248c05546f9a
treeb63f2102f21be5e0601fb073e15781801d937cd2
parent596d98a3c70516c2f9c88e929d4a652b40e7fb5d
compat_ioctl: block: handle BLKGETZONESZ/BLKGETNRZONES

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

Cc: <stable@vger.kernel.org> # v4.20+
Fixes: 521d92249340 ("block: Introduce BLKGETZONESZ ioctl")
Fixes: 75f7527bd720 ("block: Introduce BLKGETNRZONES ioctl")
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>
block/compat_ioctl.c