summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarc-André Hébert <hebert.marcandre@gmail.com>2011-01-31 12:31:24 -0500
committerChris Ball <cjb@laptop.org>2011-01-31 12:31:27 -0500
commit64dd91640af358619810bbe780cdb42d517b0a1d (patch)
treef4a8f89d15bae23f609003fdb7fd974b3b1b1979 /include
parent4aea253e7924881063a945e6be2954604f8de10d (diff)
mmc: Fix the block device read only flag
While the MMC handled the card's read only flag correctly on open, it did not setup the flag in the allocated disk structure. The consequence being that probing the /sys/class/block/mmcblkX/ro attribute always reported 0. Signed-off-by: Marc-Andre Hebert <hebert.marcandre@gmail.com> Reviewed-by: Chris Ball <cjb@laptop.org> Tested-by: Chris Ball <cjb@laptop.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions