Message ID | alpine.LRH.2.02.1805031352070.32139@file01.intranet.prod.int.rdu2.redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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:
Enable compat ioctl LOOP_SET_BLOCK_SIZE. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Fixes: 89e4fdecb51c ("loop: add ioctl for changing logical block size") Cc: stable@vger.kernel.org # v4.14+ --- drivers/block/loop.c | 1 + 1 file changed, 1 insertion(+)