exfat: add boot region verification
authorTetsuhiro Kohada <kohada.t2@gmail.com>
Sun, 31 May 2020 09:30:17 +0000 (18:30 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Tue, 9 Jun 2020 07:49:19 +0000 (16:49 +0900)
commit476189c0ef3b658de3f6b89fd0fdeb6dc451b564
treeb584a3bad9243822b5efcffd28b2872bd741bce0
parent33404a159828a97fefada0d8f4cf910873b8e9f1
exfat: add boot region verification

Add Boot-Regions verification specified in exFAT specification.
Note that the checksum type is strongly related to the raw structure,
so the'u32 'type is used to clarify the number of bits.

Signed-off-by: Tetsuhiro Kohada <kohada.t2@gmail.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
fs/exfat/exfat_fs.h
fs/exfat/misc.c
fs/exfat/super.c