Files
linux-stable-mirror/include/linux
Arnd Bergmann ee6a129dff compat_ioctl: block: add blkdev_compat_ptr_ioctl
A lot of block drivers need only a trivial .compat_ioctl callback.

Add a helper function that can be set as the callback pointer
to only convert the argument using the compat_ptr() conversion
and otherwise assume all input and output data is compatible,
or handled using in_compat_syscall() checks.

This mirrors the compat_ptr_ioctl() helper function used in
character devices.

Reviewed-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-01-03 09:32:59 +01:00
..
2019-11-12 11:43:29 -05:00
2019-11-15 23:44:48 +01:00
2019-12-03 07:36:38 -07:00
2019-11-26 10:26:26 +01:00
2019-12-03 11:20:37 +01:00
2019-12-08 12:42:19 +01:00
2019-12-09 10:36:44 -08:00
2019-11-20 09:40:10 +01:00
2019-12-01 12:59:06 -08:00
2019-12-04 19:44:14 -08:00
2019-12-09 10:36:44 -08:00
2019-12-25 17:08:33 -07:00
2019-11-15 13:49:04 -05:00
2019-11-14 19:06:47 -08:00
2019-11-13 19:09:47 +08:00
2019-12-06 10:47:28 +01:00
2019-11-14 13:07:48 +08:00
2019-12-04 19:44:14 -08:00
2019-12-01 06:29:17 -08:00
2019-11-13 12:15:34 -08:00
2019-12-12 19:00:36 +01:00
2019-11-14 12:20:02 +08:00