Re: [PATCH] ocfs2: validate quota file block count in ocfs2_local_read_info()

From: Dmitry Antipov

Date: Thu Jul 02 2026 - 09:19:21 EST


On 7/1/26 12:08 PM, Joseph Qi wrote:

This will reject valid on-disk layouts.
See ol_quota_chunk_block().

BTW, could we move the geometry bound check into a dedicated info-block
validator?

Sure. But it seems I have no clue how to detect invalid (extremely
large as in this particular case) values of 'dqi_blocks' anyway.

Dmitry