This patch make sure one file could be deleted completely when write and delete
mixed
operations occur power-cut.
Guochun Mao (1):
ubifs: only check replay with inode type to judge if inode linked
fs/ubifs/replay.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
2.18.0
From: Guochun Mao
Conside the following case, it just write a big file into flash,
when complete writing, delete the file, and then power off promptly.
Next time power on, we'll get a replay list like:
...
LEB 1105:211344 len 4144 deletion 0 sqnum 428783 key type 1 inode 80
LEB 15:233544 len 160
2 matches
Mail list logo