Re: [PATCH 4/6] xfs: fully check the parent handle when it points to the rootdir

Christoph Hellwig <[email protected]>
Newsgroups org.kernel.vger.linux-xfs,org.kernel.vger.stable
Message-ID <[email protected]>
On Mon, Jul 13, 2026 at 11:06:59PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <[email protected]>
> 
> LOLLM noticed that the directory tree path checking declares the path to
> be ok if the inumber in the parent pointer reaches the root directory.
> Unfortunately, it neglects to check that the generation is correct.  Fix
> that by moving the generation check up.

Looks good:

Reviewed-by: Christoph Hellwig <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.