diff options
author | Andy Grover <agrover@redhat.com> | 2014-10-02 01:07:03 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-10-03 06:35:54 +0200 |
commit | f14bb039a4e8206439d3e9abd92bc76bd142f243 (patch) | |
tree | 9b97b8aae139d6d26ecdbed0951959bd75c0ad7c /drivers/uio/uio.c | |
parent | target: Remove unneeded check in sbc_parse_cdb (diff) | |
download | linux-f14bb039a4e8206439d3e9abd92bc76bd142f243.tar.xz linux-f14bb039a4e8206439d3e9abd92bc76bd142f243.zip |
uio: Export definition of struct uio_device
In order to prevent a O(n) search of the filesystem to link up its uio
node with its target configuration, TCMU needs to know the minor number
that UIO assigned. Expose the definition of this struct so TCMU can
access this field.
Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/uio/uio.c')
-rw-r--r-- | drivers/uio/uio.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index a673e5b6a2e0..60fa6278fbce 100644 --- a/drivers/uio/uio.c +++ b/drivers/uio/uio.c @@ -28,18 +28,6 @@ #define UIO_MAX_DEVICES (1U << MINORBITS) -struct uio_device { - struct module *owner; - struct device *dev; - int minor; - atomic_t event; - struct fasync_struct *async_queue; - wait_queue_head_t wait; - struct uio_info *info; - struct kobject *map_dir; - struct kobject *portio_dir; -}; - static int uio_major; static struct cdev *uio_cdev; static DEFINE_IDR(uio_idr); |