Re: [PATCH v3] fs: add the tuncate check of exfat

From: Christoph Hellwig
Date: Thu Mar 16 2023 - 10:47:45 EST


On Thu, Mar 16, 2023 at 10:27:53PM +0800, MIngyi Cong wrote:
> EXFAT will fill zero data in truncated range.
> Fix this by adding EXFAT_SUPER_MAGIC check.

None of these is correct. We need to find a way to communicate
this information without looking at magic numbers.