]> 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)
commit87a720ac2d1d42b0961a385c8e5a50293c67cc4b
treeb63f2102f21be5e0601fb073e15781801d937cd2
parent0b2952e4c73659ed0785e487397dbf1d2250d3bc
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: 947daf823dc9 ("block: Introduce BLKGETZONESZ ioctl")
Fixes: 35e7269bdb40 ("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