commit | 3c624d4962a583516acadcbf60a8ca2a48421f5c | [log] [tgz] |
---|---|---|
author | Roger Quadros <roger.quadros@nokia.com> | Tue Apr 05 18:36:39 2011 +0300 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Apr 13 16:40:59 2011 -0700 |
tree | 85d60787a7287c2dd3260027026c963680c38f5d | |
parent | 73ee4da994e7b97bd8241e39099cf3dd94675d79 [diff] |
usb: gadget: f_mass_storage: If 'ro'/'cdrom' specified, open file as read-only If we don't need Write access then attempt to open backing file in Read Only mode instead of bailing out too soon. Signed-off-by: Roger Quadros <roger.quadros@nokia.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>