Re: [PATCH] vfs: check dentry is still valid in get_link()

From: Al Viro
Date: Mon Jan 17 2022 - 22:56:41 EST


On Tue, Jan 18, 2022 at 10:31:53AM +0800, Ian Kent wrote:

> Wouldn't that case be caught by the unlazy call since ->get_link()
> needs to return -ECHILD for the rcu case now (in xfs anyway)?

*shrug*

that'd solve the problem, all right, but it's a serious overkill in
several respects.