diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2015-06-19 21:56:34 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-07-06 17:34:08 (GMT) |
commit | 8515bac01a983d277148e4fcc5f235bf603de577 (patch) | |
tree | 55abb371941f179e3abb3147d6949478b9fe229a /drivers/misc | |
parent | 43cacb03aabe62158d8e5da876054c7d48fc9963 (diff) | |
download | linux-8515bac01a983d277148e4fcc5f235bf603de577.tar.xz |
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/misc')
0 files changed, 0 insertions, 0 deletions