third_party_f2fs-tools/mkfs
JP Abgrall 6da30100ee mkfs: write the cp page 2 of the checkpoint pack 2 during format
Currently mkfs followed by fsck will fail with

  [f2fs_crc_valid: 351] CRC validation failed: cal_crc = 4076150800 blk_crc = 0 buff_size = 0x0

This is because the validatie_checkpoint() tries to read and checksum the
cp page 2, and it is invoked on both cp packs.
But format only writes the page 1 of the 2nd checkpoint pack.

Signed-off-by: JP Abgrall <jpa@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
2014-01-13 10:21:56 +09:00
..
f2fs_format_utils.c mkfs: completely abstract the dev IO during format 2014-01-13 10:21:08 +09:00
f2fs_format_utils.h mkfs: completely abstract the dev IO during format 2014-01-13 10:21:08 +09:00
f2fs_format.c mkfs: write the cp page 2 of the checkpoint pack 2 during format 2014-01-13 10:21:56 +09:00
Makefile.am mkfs: completely abstract the dev IO during format 2014-01-13 10:21:08 +09:00