<p dir="ltr">Hi Maintainers,</p>
<p dir="ltr">I suppose the variables "highstale" and "lowstale" are being used despite not having been initialized.</p>
<p dir="ltr">File: fs/xfs/xfs_dir2_node.c<br>
Function: xfs_dir2_leafn_add</p>
<p dir="ltr">L491:<br>
> /*<br>
> * Insert the new entry, log everything.<br>
> */<br>
> lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale,<br>
> highstale, &lfloglow, &lfloghigh);<br></p>
<p dir="ltr">The only place they are started up is within this condition:</p>
<p dir="ltr">L480:<br>
> if (compact)<br>
> xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale,<br>
> &highstale, &lfloglow, &lfloghigh);<br></p>
<p dir="ltr">So, if it is not compact, both have garbage.</p>
<p dir="ltr">Best Regards.</p>
<p dir="ltr">Geyslan Gregório Bem</p>