Re: [PATCH v5 2/5] exfat: check return value of sb_min_blocksize in exfat_read_boot_sector

Namjae Jeon
2025-11-04T11:23:38Z

On Tue, Nov 4, 2025 at 8:02 PM Christoph Hellwig <hch@infradead.org> wrote:
>
> On Tue, Nov 04, 2025 at 12:47:20AM +0800, Yongpeng Yang wrote:
> > From: Yongpeng Yang <yangyongpeng@xiaomi.com>
> >
> > sb_min_blocksize() may return 0. Check its return value to avoid
> > accessing the filesystem super block when sb->s_blocksize is 0.
>
> Looks good:
>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
Applied it to #dev.
Thanks!
>
>