Enable compat ioctl LOOP_SET_BLOCK_SIZE. Signed-off-by: Mikulas Patocka <mpatocka@xxxxxxxxxx> Fixes: 89e4fdecb51c ("loop: add ioctl for changing logical block size") Cc: stable@xxxxxxxxxxxxxxx # v4.14+ --- drivers/block/loop.c | 1 + 1 file changed, 1 insertion(+) Index: linux-2.6/drivers/block/loop.c =================================================================== --- linux-2.6.orig/drivers/block/loop.c 2018-05-03 19:48:04.000000000 +0200 +++ linux-2.6/drivers/block/loop.c 2018-05-03 19:48:32.000000000 +0200 @@ -1600,6 +1600,7 @@ static int lo_compat_ioctl(struct block_ case LOOP_SET_FD: case LOOP_CHANGE_FD: case LOOP_SET_DIRECT_IO: + case LOOP_SET_BLOCK_SIZE: err = lo_ioctl(bdev, mode, cmd, arg); break; default: