mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 05:50:19 +00:00
9421502b4f
Erases for block devices were always just emulated by writing 0xff. Some time back the write was removed and only the page cache was changed to 0xff. Superficialy a good idea with two problems: 1. Touching the page cache isn't necessary either. 2. However, writing out 0xff _is_ necessary for the journal. As the journal is scanned linearly, an old non-overwritten commit entry can be used on next mount and cause havoc. This should fix both aspects. |
||
---|---|---|
.. | ||
compr.c | ||
dev_bdev.c | ||
dev_mtd.c | ||
dir.c | ||
file.c | ||
gc.c | ||
inode.c | ||
journal.c | ||
Kconfig | ||
logfs_abi.h | ||
logfs.h | ||
Makefile | ||
readwrite.c | ||
segment.c | ||
super.c |