commit | 6da30100ee0f64687c5e1bc84bf86f0e312261d9 | [log] [tgz] |
---|---|---|
author | JP Abgrall <jpa@google.com> | Thu Jan 09 17:53:18 2014 -0800 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Mon Jan 13 10:21:56 2014 +0900 |
tree | 92a4fbadaef67bcf0badc63f02a7732eb7a66cc0 | |
parent | cb54e79739672366d849e02a3068f857c6bb544c [diff] |
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>