]> git.baikalelectronics.ru Git - kernel.git/commit
uio: Export definition of struct uio_device
authorAndy Grover <agrover@redhat.com>
Wed, 1 Oct 2014 23:07:03 +0000 (16:07 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 3 Oct 2014 04:35:54 +0000 (21:35 -0700)
commit71868e75b72748cc8a99c1441a5f4f3e2d7508fa
tree9b97b8aae139d6d26ecdbed0951959bd75c0ad7c
parenta3e8681919d22d384096246fd2654734008cde9e
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>
drivers/uio/uio.c
include/linux/uio_driver.h