Milan Broz
aa129a2247
[PATCH] dm: support ioctls on mapped devices
...
Extend the core device-mapper infrastructure to accept arbitrary ioctls on a
mapped device provided that it has exactly one target and it is capable of
supporting ioctls.
[We can't use unlocked_ioctl because we need 'inode': 'file' might be NULL.
Is it worth changing this?]
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Arnd Bergmann <arnd@arndb.de> wrote:
> Am Wednesday 21 June 2006 21:31 schrieb Alasdair G Kergon:
> > static struct block_device_operations dm_blk_dops = {
> > .open = dm_blk_open,
> > .release = dm_blk_close,
> > +.ioctl = dm_blk_ioctl,
> > .getgeo = dm_blk_getgeo,
> > .owner = THIS_MODULE
>
> I guess this also needs a ->compat_ioctl method, otherwise it won't
> work for ioctl numbers that have a compat_ioctl implementation in the
> low-level device driver.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-03 08:04:13 -07:00
..
2006-09-19 12:43:58 +01:00
2006-09-19 12:43:58 +01:00
2006-09-26 17:40:24 -04:00
2006-10-02 07:57:21 -07:00
2006-09-24 10:44:09 +01:00
2006-09-26 16:46:28 +01:00
2006-09-24 19:28:47 -07:00
2006-09-28 18:02:59 -07:00
2006-09-19 12:43:58 +01:00
2006-09-28 18:03:03 -07:00
2006-09-22 14:55:33 -07:00
2006-10-02 07:57:20 -07:00
2006-09-30 20:52:31 +02:00
2006-10-02 07:57:20 -07:00
2006-09-19 12:43:58 +01:00
2006-09-19 12:43:58 +01:00
2006-09-27 11:58:52 -07:00
2006-10-01 00:39:29 -07:00
2006-09-24 11:13:19 -04:00
2006-09-26 17:43:53 -07:00
2006-10-01 00:39:29 -07:00
2006-10-01 00:39:29 -07:00
2006-08-31 00:02:15 -04:00
2006-09-28 17:53:58 -07:00
2006-09-06 11:00:02 -07:00
2006-09-29 17:13:24 -07:00
2006-09-29 17:05:05 -07:00
2006-09-30 20:29:42 +02:00
2006-09-30 20:52:33 +02:00
2006-09-30 20:29:43 +02:00
2006-09-26 08:48:45 -07:00
2006-09-30 20:52:31 +02:00
2006-09-27 08:26:14 -07:00
2006-09-24 11:13:19 -04:00
2006-10-01 00:39:23 -07:00
2006-10-02 14:05:20 -07:00
2006-10-01 00:39:26 -07:00
2006-10-02 07:57:14 -07:00
2006-10-03 08:04:12 -07:00
2006-10-03 08:04:12 -07:00
2006-09-26 08:48:59 -07:00
2006-09-29 09:18:21 -07:00
2006-09-29 09:18:20 -07:00
2006-09-21 11:46:23 +10:00
2006-09-22 23:24:30 -04:00
2006-09-24 17:56:32 -03:00
2006-09-01 11:39:08 -07:00
2006-10-03 08:04:13 -07:00
2006-09-25 21:08:40 -07:00
2006-10-03 08:04:13 -07:00
2006-09-29 09:18:10 -07:00
2006-09-29 09:18:09 -07:00
2006-09-26 10:52:38 +02:00
2006-09-24 11:13:19 -04:00
2006-09-27 08:26:19 -07:00
2006-09-30 20:52:31 +02:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:56 -07:00
2006-09-27 08:26:18 -07:00
2006-09-28 18:02:08 -07:00
2006-09-30 20:52:28 +02:00
2006-09-27 08:26:10 -07:00
2006-09-30 20:52:29 +02:00
2006-09-27 08:26:09 -07:00
2006-10-03 08:04:10 -07:00
2006-09-22 15:18:10 -07:00
2006-09-29 09:18:12 -07:00
2006-09-22 15:18:47 -07:00
2006-10-03 08:03:40 -07:00
2006-10-02 07:57:12 -07:00
2006-09-29 09:18:24 -07:00
2006-09-22 15:18:51 -07:00
2006-09-30 20:52:31 +02:00
2006-09-30 01:47:55 +02:00
2006-09-27 08:26:12 -07:00
2006-09-26 17:40:24 -04:00
2006-09-26 08:48:46 -07:00
2006-09-29 09:18:15 -07:00
2006-09-26 15:38:51 -07:00
2006-09-26 15:38:52 -07:00
2006-09-30 09:36:56 -07:00
2006-09-26 15:38:52 -07:00
2006-09-28 18:02:18 -07:00
2006-10-03 08:04:08 -07:00
2006-09-22 15:20:29 -07:00
2006-09-28 18:02:13 -07:00
2006-09-28 18:02:50 -07:00
2006-09-28 18:02:50 -07:00
2006-09-28 18:02:02 -07:00
2006-09-28 18:02:31 -07:00
2006-09-28 18:01:57 -07:00
2006-09-28 18:02:29 -07:00
2006-09-22 15:18:01 -07:00
2006-09-28 18:01:05 -07:00
2006-10-02 07:57:22 -07:00
2006-09-27 08:26:17 -07:00
2006-09-19 01:59:55 -04:00
2006-09-29 09:18:20 -07:00
2006-10-01 00:39:31 -07:00
2006-09-28 17:54:01 -07:00
2006-10-02 07:57:22 -07:00
2006-10-01 00:39:23 -07:00
2006-09-28 18:02:30 -07:00
2006-09-26 08:48:53 -07:00
2006-09-24 11:13:19 -04:00
2006-09-29 09:18:03 -07:00
2006-09-24 11:13:19 -04:00
2006-09-26 10:52:42 +02:00
2006-10-03 08:03:41 -07:00
2006-09-28 18:02:51 -07:00
2006-09-27 08:26:12 -07:00
2006-10-01 00:39:33 -07:00
2006-09-25 21:08:39 -07:00
2006-10-02 07:57:16 -07:00
2006-09-06 11:00:02 -07:00
2006-10-01 00:39:19 -07:00
2006-09-29 09:18:13 -07:00
2006-09-25 15:33:09 -04:00
2006-09-14 01:31:27 -04:00
2006-09-26 10:52:34 +02:00
2006-09-29 09:18:05 -07:00
2006-09-29 09:18:08 -07:00
2006-09-29 09:18:06 -07:00
2006-09-24 11:13:19 -04:00
2006-10-01 00:39:18 -07:00
2006-10-01 00:39:18 -07:00
2006-09-26 08:48:47 -07:00
2006-09-24 11:13:19 -04:00
2006-09-27 08:26:12 -07:00
2006-10-01 00:39:18 -07:00
2006-09-27 08:26:13 -07:00
2006-09-27 08:26:19 -07:00
2006-10-02 07:57:12 -07:00
2006-09-30 20:52:31 +02:00
2006-09-28 18:02:22 -07:00
2006-09-29 09:18:12 -07:00
2006-10-01 00:39:19 -07:00
2006-10-02 07:57:20 -07:00
2006-10-01 00:39:23 -07:00
2006-09-22 14:54:04 -07:00
2006-09-22 14:54:20 -07:00
2006-09-28 18:02:58 -07:00
2006-09-22 15:18:31 -07:00
2006-09-22 15:19:51 -07:00
2006-09-22 14:53:54 -07:00
2006-09-02 15:33:49 -05:00
2006-09-22 23:24:54 -04:00
2006-10-01 00:39:28 -07:00
2006-09-22 23:24:32 -04:00
2006-09-22 23:24:53 -04:00
2006-09-29 09:18:05 -07:00
2006-08-27 11:01:32 -07:00
2006-10-02 07:57:17 -07:00
2006-10-02 07:57:22 -07:00
2006-09-29 09:18:03 -07:00
2006-09-26 08:48:48 -07:00
2006-09-29 17:06:23 -07:00
2006-09-26 17:43:52 -07:00
2006-10-01 00:39:17 -07:00
2006-09-26 17:43:53 -07:00
2006-09-29 09:18:02 -07:00
2006-10-03 08:03:40 -07:00
2006-09-22 15:18:12 -07:00
2006-09-25 21:08:38 -07:00
2006-09-25 21:08:37 -07:00
2006-09-29 09:18:15 -07:00
2006-10-02 07:57:13 -07:00
2006-10-02 07:57:15 -07:00
2006-09-29 09:18:16 -07:00
2006-09-24 11:13:19 -04:00
2006-09-30 20:52:18 +02:00
2006-09-30 20:26:56 +02:00
2006-09-29 09:18:11 -07:00
2006-09-29 09:18:11 -07:00
2006-10-01 00:39:28 -07:00
2006-10-01 00:39:27 -07:00
2006-09-29 09:18:11 -07:00
2006-09-26 08:49:04 -07:00
2006-09-26 08:48:44 -07:00
2006-10-01 00:39:25 -07:00
2006-09-28 18:02:50 -07:00
2006-09-21 11:46:16 +10:00
2006-10-03 08:04:06 -07:00
2006-09-29 09:18:06 -07:00
2006-09-29 09:18:11 -07:00
2006-09-26 08:48:52 -07:00
2006-09-29 09:18:24 -07:00
2006-09-22 14:53:53 -07:00
2006-09-27 08:26:11 -07:00
2006-09-27 08:26:18 -07:00
2006-09-26 08:48:56 -07:00
2006-09-22 14:55:16 -07:00
2006-09-29 09:18:19 -07:00
2006-09-29 09:18:20 -07:00
2006-09-26 10:52:34 +02:00
2006-10-03 08:03:40 -07:00
2006-10-01 00:39:18 -07:00
2006-10-01 00:39:19 -07:00
2006-09-26 08:49:02 -07:00
2006-09-26 08:48:58 -07:00
2006-10-01 00:39:22 -07:00
2006-10-02 07:57:23 -07:00
2006-09-26 13:07:55 -07:00
2006-09-25 21:08:39 -07:00
2006-10-01 00:39:23 -07:00
2006-10-01 00:39:29 -07:00
2006-09-28 18:02:05 -07:00
2006-10-01 00:39:27 -07:00
2006-10-03 08:04:06 -07:00
2006-09-28 17:53:59 -07:00
2006-10-01 00:39:29 -07:00
2006-10-02 07:57:14 -07:00
2006-09-30 20:52:18 +02:00
2006-10-01 00:39:18 -07:00
2006-09-27 08:26:20 -07:00
2006-09-28 18:02:16 -07:00
2006-10-02 07:57:23 -07:00
2006-10-01 00:39:34 -07:00
2006-09-27 11:58:54 -07:00
2006-09-28 15:36:46 -07:00
2006-09-24 11:13:19 -04:00
2006-10-01 00:39:19 -07:00
2006-10-02 07:57:22 -07:00
2006-09-26 10:52:37 +02:00
2006-09-26 12:30:35 -03:00
2006-09-10 13:45:55 -03:00
2006-09-27 08:26:13 -07:00
2006-09-29 09:18:13 -07:00
2006-10-02 07:57:13 -07:00
2006-08-27 11:01:29 -07:00
2006-09-25 16:52:14 -04:00
2006-09-30 20:52:26 +02:00
2006-09-28 18:02:42 -07:00