[lvc-project] [RESEND PATCH v2] ocfs2: introduce chain list sanity check with ocfs2_check_chain_list()

Joseph Qi joseph.qi at linux.alibaba.com
Tue Oct 28 08:51:23 MSK 2025



On 2025/10/28 12:08, Heming Zhao wrote:
> On Tue, Oct 28, 2025 at 09:53:06AM +0800, Joseph Qi wrote:
>> Hi,
>> It seems that these checks can also been moved into ocfs2_validate_inode_block()?
>>
>> Thanks,
>> Joseph
> 
> The patch checks 'block group' not 'inode block', the signatures are
> different: OCFS2_GROUP_DESC_SIGNATURE vs. OCFS2_INODE_SIGNATURE.
> In my view, current code is correct.
> 

But it checks chain list, right?

Joseph



More information about the lvc-project mailing list