On Fri, Jul 31 2015, Krzysztof Opasiak wrote:
> Use device_is_registered() instad of sysfs flag to determine if
> we should free sysfs representation of particular LUN.
[…]
>
> Signed-off-by: Krzysztof Opasiak
Acked-by: Michal Nazarewicz
> ---
> drivers/usb/gadget/function/f_mass_storage.c |
Use device_is_registered() instad of sysfs flag to determine if
we should free sysfs representation of particular LUN.
sysfs flag in fsg common determines if luns attributes should be
exposed using sysfs. This flag is used when creating and freeing
luns. Unfortunately there is no guarantee that th