Skip to content

Commit 4b43f31

Browse files
arndbaxboe
authored andcommitted
compat_ioctl: block: handle add zone open, close and finish ioctl
These were added to blkdev_ioctl() in linux-5.5 but not blkdev_compat_ioctl, so add them now. Fixes: e876df1 ("block: add zone open, close and finish ioctl support") Reviewed-by: Damien Le Moal <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 21d3734 commit 4b43f31

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

block/compat_ioctl.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,9 @@ long compat_blkdev_ioctl(struct file *file, unsigned cmd, unsigned long arg)
356356
case BLKRRPART:
357357
case BLKREPORTZONE:
358358
case BLKRESETZONE:
359+
case BLKOPENZONE:
360+
case BLKCLOSEZONE:
361+
case BLKFINISHZONE:
359362
case BLKGETZONESZ:
360363
case BLKGETNRZONES:
361364
return blkdev_ioctl(bdev, mode, cmd,

0 commit comments

Comments
 (0)