]> git.baikalelectronics.ru Git - kernel.git/commit
tty: fix vt_compat_ioctl
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 28 Sep 2009 18:10:02 +0000 (20:10 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 14 Oct 2009 22:43:18 +0000 (15:43 -0700)
commita364ebcb47371946c978c0f706b627e211f900a1
treee728c47f0adffe633530075bf392deb4eca54eea
parent864c024d2d66c129ed67f22ba567262ca6303b0a
tty: fix vt_compat_ioctl

Call compat_unimap_ioctl, not do_unimap_ioctl.

This was broken by commit dbbac726.

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>
drivers/char/vt_ioctl.c