Commit 4b1fe7797270e866adc17fc603bddf8768bc187f

Authored by Andreas Schwab
Committed by Greg Kroah-Hartman
1 parent 80f506918f

tty: fix vt_compat_ioctl

Call compat_unimap_ioctl, not do_unimap_ioctl.

This was broken by commit e9216651.

The compat_unimap_ioctl was originally called do_unimap_ioctl in
fs/compat_ioctl.h which got moved to drivers/char/vt_ioctl.c.
In that patch, the caller was not updated and consequently called
the native handler.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/char/vt_ioctl.c
... ... @@ -1532,7 +1532,7 @@
1532 1532  
1533 1533 case PIO_UNIMAP:
1534 1534 case GIO_UNIMAP:
1535   - ret = do_unimap_ioctl(cmd, up, perm, vc);
  1535 + ret = compat_unimap_ioctl(cmd, up, perm, vc);
1536 1536 break;
1537 1537  
1538 1538 /*