OpenCloudOS-Kernel/include/linux/mtd
Christoph Hellwig 658afed19c mtd: block: use a simple bool to track open for write
Instead of propagating the fmode_t, just use a bool to track if a mtd
block device was opened for writing.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Christian Brauner <brauner@kernel.org>
Acked-by: Richard Weinberger <richard@nod.at>
Link: https://lore.kernel.org/r/20230608110258.189493-23-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-06-12 08:04:04 -06:00
..
bbm.h
blktrans.h mtd: block: use a simple bool to track open for write 2023-06-12 08:04:04 -06:00
cfi.h mtd: cfi_cmdset_0002: Use chip_ready() for write on S29GL064N 2022-04-28 10:17:10 +02:00
cfi_endian.h
concat.h
doc2000.h
flashchip.h
ftl.h
gen_probe.h
hyperbus.h mtd: hyperbus: Make hyperbus_unregister_device() return void 2022-06-09 15:06:13 +02:00
inftl.h
jedec.h
lpc32xx_mlc.h
lpc32xx_slc.h
map.h
mtd.h Char/Misc and other driver changes for 6.1-rc1 2022-10-08 08:56:37 -07:00
mtdram.h
nand-ecc-mtk.h mtd: nand: make mtk_ecc.c a separated module 2022-04-27 18:12:35 +02:00
nand-ecc-mxic.h spi: mxic: Add support for pipelined ECC operations 2022-02-10 09:32:30 +01:00
nand-ecc-sw-bch.h
nand-ecc-sw-hamming.h
nand-gpio.h
nand.h mtd: nand: drop EXPORT_SYMBOL_GPL for nanddev_erase() 2022-11-07 17:17:20 +01:00
ndfc.h
nftl.h
onenand.h
onenand_regs.h
onfi.h
partitions.h
pfow.h
physmap.h
pismo.h
plat-ram.h
platnand.h
qinfo.h
rawnand.h mtd: rawnand: Fix spelling mistake waifunc() -> waitfunc() 2023-03-07 10:11:52 +01:00
sh_flctl.h
sharpsl.h
spear_smi.h
spi-nor.h mtd: spi-nor: Stop exporting spi_nor_restore() 2023-04-04 09:43:50 +03:00
spinand.h mtd: spinand: add support for ESMT F50x1G41LB 2023-04-03 18:00:29 +02:00
super.h
ubi.h mtd: ubi: block: wire-up device parent 2023-02-13 22:24:10 +01:00
xip.h