mirror_ubuntu-kernels/include/linux/mtd
Alexander Stein 70d5098a4b mtd: mtdblock: call mtd_sync() only if opened for write
Because it is useless to call it if the device is opened in R/O mode, and also
harmful: on CFI NOR flash it may block for long time waiting for erase
operations to complete is another partition with a R/W file-system on this
chip.

Artem Bityutskiy: write commit message, amend the patch to match the latest
tree (we use mtd_sync(), not mtd->sync() nowadays).

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-03-27 00:11:11 +01:00
..
bbm.h
blktrans.h mtd: mtdblock: call mtd_sync() only if opened for write 2012-03-27 00:11:11 +01:00
cfi_endian.h
cfi.h
concat.h
doc2000.h
flashchip.h
fsmc.h
ftl.h
gen_probe.h
gpmi-nand.h
inftl.h
latch-addr-flash.h
map.h
mtd.h
mtdram.h
nand_bch.h
nand_ecc.h
nand-gpio.h
nand.h
ndfc.h
nftl.h
onenand_regs.h
onenand.h
partitions.h
pfow.h
physmap.h
pismo.h
plat-ram.h
pmc551.h
qinfo.h
sh_flctl.h
sharpsl.h
super.h
ubi.h
xip.h