Message ID | alpine.LRH.2.02.1805031350520.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-04-30 00:30:38.000000000 +0200 +++ linux-2.6/drivers/block/loop.c 2018-05-03 18:49:44.000000000 +0200 @@ -1599,6 +1599,7 @@ static int lo_compat_ioctl(struct block_ arg = (unsigned long) compat_ptr(arg); case LOOP_SET_FD: case LOOP_CHANGE_FD: + case LOOP_SET_DIRECT_IO: err = lo_ioctl(bdev, mode, cmd, arg); break; default:
Enable compat ioctl LOOP_SET_DIRECT_IO. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Fixes: ab1cb278bc70 ("block: loop: introduce ioctl command of LOOP_SET_DIRECT_IO") Cc: stable@vger.kernel.org # v4.4+ --- drivers/block/loop.c | 2 ++ 1 file changed, 2 insertions(+)