From: Michal Nazarewicz Date: Fri, 19 Jun 2015 21:56:34 +0000 (+0200) Subject: usb: f_mass_storage: limit number of reported LUNs X-Git-Tag: omap-for-v4.3/fixes-merge-window~230^2~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8515bac01a983d277148e4fcc5f235bf603de577;p=pandora-kernel.git 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: Tested-by: Gregory CLEMENT Signed-off-by: Michal Nazarewicz Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed