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-27 22:28:37 +01:00
2019-11-27 08:15:00 -08:00
2019-12-05 11:43:31 -08:00
2019-11-22 19:56:20 +00:00
2019-12-03 09:29:50 -08:00
2019-12-05 11:43:31 -08:00
2019-11-27 10:17:28 -08:00
2019-12-10 07:18:21 -08:00
2019-12-12 17:59:43 +01:00
2019-12-05 11:43:31 -08:00
2019-12-07 16:56:00 -08:00
2019-12-04 13:32:45 +10:00
2019-12-25 20:47:19 -07:00
2019-11-23 09:56:02 -08:00
2019-12-04 19:44:14 -08:00
2019-12-04 19:44:12 -08:00
2019-11-21 09:06:47 -07:00
2019-12-12 09:26:55 -07:00
2020-01-03 09:32:59 +01:00
2019-11-24 17:04:11 -08:00
2019-12-17 08:58:02 -08:00
2019-12-16 10:59:29 -08:00
2019-12-04 19:44:12 -08:00
2019-12-03 07:36:38 -07:00
2020-01-03 09:32:51 +01:00
2019-11-26 10:26:26 +01:00
2019-12-12 17:59:43 +01:00
2019-11-26 09:43:34 -08:00
2019-11-29 11:48:39 +01:00
2019-11-21 14:28:32 +01:00
2019-12-09 12:19:16 +09:00
2019-11-25 11:53:26 -08:00
2019-12-12 14:49:57 +01:00
2019-11-21 18:14:35 +01:00
2019-11-28 11:16:43 -08:00
2019-11-20 20:31:38 +01:00
2019-12-03 11:20:37 +01:00
2019-12-08 12:42:19 +01:00
2019-12-05 12:27:16 -08:00
2019-12-02 14:46:22 -08:00
2019-12-09 10:36:44 -08:00
2019-12-02 14:46:22 -08:00
2019-12-11 12:22:38 -08:00
2019-11-20 09:40:10 +01:00
2019-11-27 11:06:20 -08:00
2019-12-04 19:44:13 -08:00
2019-12-01 12:59:06 -08:00
2019-11-23 19:56:45 -04:00
2019-12-01 12:59:08 -08:00
2019-11-21 20:10:44 -05:00
2019-12-11 08:39:07 +01:00
2019-12-12 18:58:24 +01:00
2019-12-03 12:20:25 -08:00
2019-12-22 10:41:48 -08:00
2019-12-17 20:59:59 -08:00
2019-12-04 19:44:14 -08:00
2019-11-21 07:33:24 +01:00
2019-12-04 19:44:12 -08:00
2019-12-09 10:36:44 -08:00
2019-12-25 17:08:33 -07:00
2019-11-26 13:35:25 -07:00
2019-12-01 12:59:08 -08:00
2019-12-01 12:59:07 -08:00
2019-12-01 12:59:10 -08:00
2019-12-06 10:28:09 -08:00
2019-12-17 20:59:59 -08:00
2019-11-23 19:56:44 -04:00
2019-12-01 12:59:10 -08:00
2019-12-20 21:47:04 -08:00
2019-12-01 12:59:05 -08:00
2019-12-17 22:14:17 -08:00
2019-12-04 19:44:12 -08:00
2019-11-27 02:48:27 +09:00
2019-11-22 02:21:08 +09:00
2019-11-27 10:53:50 -08:00
2019-12-19 17:32:21 -08:00
2019-11-21 07:49:29 -06:00
2019-12-01 12:59:04 -08:00
2019-11-20 16:30:10 +00:00
2019-12-03 13:58:22 -08:00
2019-11-25 14:28:04 -08:00
2019-11-26 15:04:47 -08:00
2019-12-09 10:36:44 -08:00
2019-12-20 21:48:06 -08:00
2019-11-23 16:13:39 -08:00
2019-12-07 13:21:01 -08:00
2019-11-29 12:04:50 +01:00
2019-12-06 10:47:28 +01:00
2019-12-04 19:44:11 -08:00
2019-12-06 10:28:09 -08:00
2019-12-04 19:44:13 -08:00
2019-12-13 21:40:49 -08:00
2019-11-26 16:02:40 -08:00
2019-11-25 09:15:32 +01:00
2019-12-05 11:43:31 -08:00
2019-12-05 11:43:31 -08:00
2019-12-04 19:44:14 -08:00
2019-11-30 14:35:43 -08:00
2019-11-20 22:29:40 -08:00
2019-12-04 17:11:25 -08:00
2019-11-28 22:40:29 -08:00
2019-12-01 06:29:17 -08:00
2019-12-03 07:04:30 -07:00
2019-12-01 06:29:18 -08:00
2019-12-01 12:59:07 -08:00
2019-12-12 19:00:36 +01:00
2019-12-04 19:44:11 -08:00
2019-12-04 19:44:14 -08:00
2019-11-26 15:42:43 -08:00
2019-12-06 21:05:14 -08:00
2019-12-17 11:46:43 +02:00
2019-11-22 19:41:08 -05:00
2019-11-22 19:41:08 -05:00
2019-12-01 14:00:59 -08:00
2019-12-01 12:59:05 -08:00
2019-12-04 19:44:11 -08:00