Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: <[email protected]> Tested-by: Gregory CLEMENT <[email protected]> Signed-off-by: Michal Nazarewicz <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
- Loading branch information