diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2015-06-19 23:56:34 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-07-06 12:34:08 -0500 |
commit | 8515bac01a983d277148e4fcc5f235bf603de577 (patch) | |
tree | 55abb371941f179e3abb3147d6949478b9fe229a /drivers/thunderbolt | |
parent | 43cacb03aabe62158d8e5da876054c7d48fc9963 (diff) |
usb: f_mass_storage: limit number of reported LUNs
Mass storage function created via configfs always reports eight LUNs
to the hosts even if only one LUN has been configured. Adjust the
number when the USB function is allocated based on LUNs that user
has created.
Cc: <stable@vger.kernel.org>
Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/thunderbolt')
0 files changed, 0 insertions, 0 deletions