Re: [PATCH] fs/dcache: fix warning in ext4_xattr_inode_lookup_create

From: Al Viro
Date: Tue May 28 2024 - 22:02:33 EST


On Wed, May 29, 2024 at 02:56:52AM +0100, Al Viro wrote:
> On Wed, May 29, 2024 at 09:15:02AM +0800, Edward Adam Davis wrote:
> > ext4_xattr_inode_lookup_create() will use s_root, so set it to NULL
> > after do_one_tree().
>
> Why, in the name of everything unholy, would eviction of dentries need
> to set any kind of xattrs?

IOW, that might make the testcase STFU, but something odd is happening
there and I would really like to understand the details before we go
that way.