Chao Yu 91803392c7 f2fs: fix to stop filesystem update once CP failed
During f2fs_write_checkpoint(), once we failed in
f2fs_flush_nat_entries() or do_checkpoint(), metadata of filesystem
such as prefree bitmap, nat/sit version bitmap won't be recovered,
it may cause f2fs image to be inconsistent, let's just set CP error
flag to avoid further updates until we figure out a scheme to rollback
all metadatas in such condition.

Reported-by: Yangtao Li <frank.li@vivo.com>
Signed-off-by: Yangtao Li <frank.li@vivo.com>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-08-03 18:08:29 -07:00
..
2021-04-10 10:36:39 -07:00
2021-01-24 14:27:20 +01:00
2021-03-30 18:48:56 -07:00
2021-01-27 15:20:07 -08:00
2021-05-04 18:03:38 -07:00
2021-05-04 18:03:38 -07:00
2021-04-10 10:36:39 -07:00