summaryrefslogtreecommitdiffstats
path: root/fs/mbcache.c
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2018-05-25 16:23:46 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-31 12:43:14 +0200
commitde19ca6fd72c7dd45ad82403e7b3fe9c74ef6767 (patch)
tree254c3463c6bf29e78a43b6eae5f516c0d0c701fc /fs/mbcache.c
parentdbafc28955fa6779dc23d1607a0fee5e509a278b (diff)
downloadlinux-de19ca6fd72c7dd45ad82403e7b3fe9c74ef6767.tar.gz
linux-de19ca6fd72c7dd45ad82403e7b3fe9c74ef6767.tar.bz2
linux-de19ca6fd72c7dd45ad82403e7b3fe9c74ef6767.zip
usbip: dynamically allocate idev by nports found in sysfs
As the amount of available ports varies by the kernels build configuration. To remove the limitation of the fixed 128 ports we allocate the amount of idevs by using the number we get from the kernel. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Acked-by: Shuah Khan (Samsung OSG) <shuah@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions