On Mon, Aug 26, 2024 at 05:08:02PM +0800, Yan Zhen wrote: > The d_hash_and_lookup() function returns either an error pointer or NULL. > > It might be more appropriate to check error using IS_ERR_OR_NULL(). Not for procfs it doesn't. Please, don't use that shite.