vt_ioctl: move io ioctls to a separate function
authorJiri Slaby <jslaby@suse.cz>
Mon, 15 Jun 2020 07:49:04 +0000 (09:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:08:34 +0000 (17:08 +0200)
commitbfbbdfa4de133ed235359693dae8468c1dc98cf1
tree4e78395ef5fb1af22d787505ed91b913399151ac
parent832a62ab6b7d32243266f1829bfa4ea85c95065a
vt_ioctl: move io ioctls to a separate function

We create a new vt_io_ioctl here and move there all the IO ioctls.  This
makes vt_ioctl significantly smaller.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200615074910.19267-32-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt_ioctl.c