commit | 1dabc19e7f8a49cc2cb9dc3989b707470a0c9d90 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Thu Jul 29 14:42:24 2010 -0400 |
committer | Colin Cross <ccross@android.com> | Tue Jun 14 09:09:34 2011 -0700 |
tree | 1d9932031e5f177fbd19f4b44fb4031f773fde73 | |
parent | 2311937725994d67ea771ed386ee107a1dbd20cb [diff] |
USB: g_mass_storage: Always allow disabling mass storage by writing to lun file For android builds we disable the check for curlun->prevent_medium_removal. Instead we let the framework manage unmounting policy, as we sometimes need to unmount after the media has been removed. This also helps support hosts that do not inform the device when the media has been unmounted. Signed-off-by: Mike Lockwood <lockwood@android.com>