logfs: handle powerfail on NAND flash
authorJoern Engel <joern@logfs.org>
Fri, 7 May 2010 17:38:40 +0000 (19:38 +0200)
committerJoern Engel <joern@logfs.org>
Fri, 7 May 2010 17:38:40 +0000 (19:38 +0200)
commit6f485b41875dbf5160c1990322469c1f65f77b28
tree9912cee9517b57c2cb3c0318861f2a9eeb4139b2
parentccf31c10f125ab5233c8517f91d4b3bd0bd60936
logfs: handle powerfail on NAND flash

The write buffer may not have been written and may no longer be written
due to an interrupted write in the affected page.

Signed-off-by: Joern Engel <joern@logfs.org>
fs/logfs/dev_bdev.c
fs/logfs/dev_mtd.c
fs/logfs/gc.c
fs/logfs/logfs.h