block: implement block_read/block_write functions
Some drivers use blk->ops->read/write. This bypasses the caching block
layer and was never intended like this. The upper API to the block layer
is the cdev layer. This patch adds block_read and block_write functions
and uses them where appropriate.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b5c4e23 commit e82e40523f8df1c10b6646798065115119aea9a8
@Sascha Hauer Sascha Hauer authored on 4 Apr 2013
Showing 4 changed files
View
common/block.c
View
common/partitions.c
View
common/partitions/efi.c
View
include/block.h