]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: fat: add bootsector validity check
authorChristian Taedcke <christian.taedcke@weidmueller.com>
Wed, 15 Nov 2023 12:44:20 +0000 (13:44 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 29 Nov 2023 01:10:25 +0000 (20:10 -0500)
commitc489937a6f08af019f5478455ddb4e0b8ecaf6ce
tree7fab58ac6367834cecbe7972fba9426f73ac31be
parent33daef49b072f4aa7564fbbb80e7cab3629beecd
fs: fat: add bootsector validity check

The performed checks are similar to the checks performed by the Linux
kernel in the function fat_read_bpb() in the file fs/fat/inode.c.

Signed-off-by: Christian Taedcke <christian.taedcke@weidmueller.com>
fs/fat/fat.c