f2fs: sanity check of crc_offset from raw checkpoint
authorKinglong Mee <kinglongmee@gmail.com>
Wed, 15 Mar 2017 13:12:50 +0000 (21:12 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 22 Mar 2017 02:34:34 +0000 (22:34 -0400)
commitc6f89dfd528041de2e71788495579a18c0363869
tree1705c386e00b73c1a1c6325eeb8eec0c86b1fe50
parentd03ba4cc3fa639916a86b61c5a3d817cb6aa91a0
f2fs: sanity check of crc_offset from raw checkpoint

The crc_offset towards or beyond the end of block is wrong,
sanity check it.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c